RequestTimeoutException class
Exception for request timeout (408).
- Inheritance
-
- Object
- NetworkException
- ApiException
- RequestTimeoutException
Constructors
- RequestTimeoutException({String? apiErrorMessage, int statusCode = 408, required String errorMessage, bool shouldShowApiError = true})
-
const
Properties
- apiErrorMessage → String?
-
API-provided error message.
finalinherited
- errorMessage → String
-
General error message.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Returns the appropriate message.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldShowApiError → bool
-
Whether to display the API error message.
finalinherited
- statusCode → int
-
HTTP status code.
finalinherited
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