AINetworkError class

Network error — connection issues, timeouts.

Inheritance

Constructors

AINetworkError({required String provider, String message = 'Network error', int? statusCode, Object? originalError})

Properties

hashCode int
The hash code for this object.
no setterinherited
isRetryable bool
Whether this error is retryable.
no setteroverride
message String
Human-readable error message.
finalinherited
originalError Object?
Original error/exception from the provider (if available).
finalinherited
provider String
Which provider threw this error.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int?
HTTP status code (if available).
final

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