ErrorInterceptorHandler class
The handler for interceptors to handle error occurred during the request.
Constructors
Properties
-
future
→ Future<
InterceptorState> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCompleted → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
next(
DioException error) → void -
Deliver the
error
to the next interceptor. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reject(
DioException error) → void -
Completes the request by reject with the
error
as the result. -
resolve(
Response response) → void -
Completes the request by resolves the
response
as the result. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited