LuckyTimeoutException class
Exception thrown when an HTTP request exceeds its allowed time limit.
Thrown by Connector.send when Dio reports a connection or receive timeout.
Named LuckyTimeoutException to avoid conflicts with TimeoutException
from dart:async.
- Inheritance
-
- Object
- LuckyException
- LuckyTimeoutException
Constructors
- LuckyTimeoutException(String message)
-
Creates a LuckyTimeoutException with the given error
message.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
The human-readable error message.
finalinherited
- response → LuckyResponse?
-
The LuckyResponse that triggered this exception, if available.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
The HTTP status code associated with this error, if available.
finalinherited
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