TimeoutException class

Timeout exception

Inheritance

Constructors

TimeoutException(String message, {int? statusCode, Duration? duration})
Creates a new TimeoutException
const

Properties

code String?
Error code from the server
finalinherited
details Map<String, dynamic>?
Additional error details
finalinherited
duration Duration?
The timeout duration that was exceeded
final
hashCode int
The hash code for this object.
no setterinherited
isRetryable bool
Returns true if this is a retryable error
no setteroverride
message String
Error message
finalinherited
requestId String?
Request ID for tracking
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int?
HTTP status code (if applicable)
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