ExceptionHandler class
Constructors
-
ExceptionHandler(Map<
Type, OnErrorRequestResponseHandler> handlerWithException) - ExceptionHandler.build()
-
factory
Properties
- defaultResponse → Response
-
final
-
handlerWithException
→ Map<
Type, OnErrorRequestResponseHandler> -
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
-
handle(
Type exceptionType, ResponseException exception) → FutureOr< Response> -
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 Properties
-
handlers
→ Map<
Type, OnErrorRequestResponseHandler> -
final