GenericError<R> class
final
Any "other" error not covered by the above cases. If a DioException is present,
it has an error status we don't handle. Often this error will occur when no
response was received from the server.
- Inheritance
-
- Object
- NetworkResponse<
R> - NetworkResponseFailure<
R> - GenericError
- Available extensions
Constructors
- GenericError({DioException? error, required String message, required bool isConnectionIssue})
-
const
Properties
- error → DioException?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConnectionIssue → bool
-
final
- isSuccess → bool
-
Available on NetworkResponse<
Whether this NetworkResponse should be considered successfulR> , provided by the NetworkResponseX extensionno setter - message → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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