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
stackTrace → StackTrace
A reference to the wrapped StackTrace
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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