ErrorType enum
Values
- timeout → const ErrorType
-
It occurs when timeout.
- response → const ErrorType
-
When the server response, but with a incorrect status, such as 404, 503...
- cancel → const ErrorType
-
When the request is cancelled, dio will throw a error with this type.
- other → const ErrorType
-
Default error type, Some other Error. In this case, you can read the DioError.error if it is not null.
Properties
Methods
-
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