ErrorConverter class abstract
An interface for implementing error response converters.
An ErrorConverter
is called only on error responses
(statusCode < 200 || statusCode >= 300) and before any ResponseInterceptors.
- Implementers
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
-
convertError<
BodyType, InnerType> (Response response) → FutureOr< Response> -
Converts the received
Response
to aResponse
which has a body with the HTTP representation of the original body. -
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