AsyncError classfinal
An error and a stack trace.
Used when an error and stack trace need to be handled as a singlevalue, for example when returned byZone.errorCallback.
- Implemented types
Constructors
- AsyncError(Objecterror,StackTrace?stackTrace)
Properties
- error→Object
- 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 at the point where this error was first thrown.final
Methods
- noSuchMethod(
Invocationinvocation)→ dynamic - Invoked when a nonexistent method or property is accessed.inherited
- toString(
)→String - A string representation of this object.override
Operators
- operator ==(
Objectother)→bool - The equality operator.inherited
Static Methods
- defaultStackTrace(
Objecterror)→StackTrace - A default stack trace for an error.