RateLimitException class
Rate limit exceeded exception
- Implemented types
Constructors
- RateLimitException(String message, {Duration? retryAfter})
-
Creates a rate-limit exception;
retryAfterhints how long the caller should wait before retrying the throttled auth request.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable explanation of the limit that was hit.
final
- retryAfter → Duration?
-
Suggested delay before retrying, if the limiter could compute one.
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited