CaughtException class

An exception that was caught and has an associated stack trace.

Implemented types
Implementers

Constructors

CaughtException(dynamic exception, dynamic stackTrace)
Initialize a newly created caught exception to have the given exception and stackTrace.
CaughtException.withMessage(String message, Object exception, dynamic stackTrace)
Initialize a newly created caught exception to have the given exception, stackTrace, and message.

Properties

exception Object
The exception that was caught.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
message String
The message describing where/how/why this was caught.
final
rootCaughtException CaughtException
Recursively unwrap this CaughtException if it itself contains a CaughtException. [...]
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stackTrace StackTrace
The stack trace associated with the exception.
read / write

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 ==(dynamic other) bool
The equality operator. [...]
inherited