DartnessCatchError class
A wrapper class in order to retrieve the error handler instance from the annotation ErrorHandler and the data required to handle it internally by the Dartness framework.
Constructors
-
DartnessCatchError(List<
Type> errorTypes, Function handler)
Properties
-
errorTypes
→ List<
Type> -
The error types that the error handler can handle.
final
- handler → Function
-
The error handler function.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
canHandle(
Object errorCatch) → bool - Checks if the error handler can handle the error by runtimeType.
-
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