ActionRequestError<E> class
- Implemented types
Constructors
- ActionRequestError(dynamic apiError, {Response? res})
Properties
- apiErrorResponse ↔ E?
-
getter/setter pair
- error ↔ dynamic
-
The original error/exception object; It's usually not null when
type
is DioErrorType.DEFAULTgetter/setter pair -
errors
↔ Map<
String, dynamic> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String?
-
getter/setter pair
- requestOptions ↔ RequestOptions?
-
Request info.
getter/setter pair
- response ↔ Response?
-
Response info, it may be
null
if the request can't reach to the http server, for example, occurring a dns error, network is not available.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace ↔ StackTrace?
-
getter/setter pair
- statusCode ↔ int?
-
getter/setter pair
- type ↔ ActionErrorType?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited