ErrorWithTrace class
An exception that contains a source error and a stackTrace.
- Implemented types
Constructors
- ErrorWithTrace.new(Object error, StackTrace stackTrace)
-
Creates a new ErrorWithTrace with the given
error
andstackTrace
.const
Properties
- error → Object
-
The source error.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace
-
The stack trace of the source error.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited