ErrorHandlerDelegate class abstract
Delegate that provides a set methods for controlling the process of error handling through all requests.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
canHandleError(
DioException error) → bool - Calls to determine if the request failed and we can proceed it.
-
handleError(
DioException error) → void - This method will be called for error handling purposes.
-
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