AIRateLimitError class

Rate limit exceeded — too many requests.

Inheritance

Constructors

AIRateLimitError({required String provider, String message = 'Rate limit exceeded', Duration? retryAfter, 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
retryAfter Duration?
How long to wait before retrying (if provided by the API).
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited