WrappingError class base
A RuntimeError that wraps throwable and throwableStackTrace.
- Inheritance
-
- Object
- Error
- RuntimeError
- WrappingError
- Mixed-in types
- Annotations
-
- @immutable
Constructors
- WrappingError.new(Object throwable, StackTrace throwableStackTrace)
-
Creates a new WrappingError from
throwable
and its stack trace.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → Object
-
Type information for this RuntimeThrowable.
no setteroverride
- message → Object?
-
A description of the cause of the throw.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The stack trace at the point where this error was first thrown.
no setterinherited
- throwable → Object
-
An Object that was thrown.
final
- throwableStackTrace → StackTrace
-
The StackTrace corresponding to the thrown throwable.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
wrap(
Object x, StackTrace st) → WrappingError -
Unwraps
x
or creates a new WrappingError fromx
andst
.