ErrorAndStacktrace class

An Object which acts as a tuple containing both an error and the corresponding stack trace.

Constructors

ErrorAndStacktrace(dynamic error, StackTrace stackTrace)
Constructs an object containing both an error and the corresponding stackTrace.

Properties

error → dynamic
A reference to the wrapped error object.
final
hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stackTrace StackTrace
A reference to the wrapped StackTrace
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override