RateLimitException class

Thrown when the server rate-limits a non-phone authentication endpoint (HTTP 429 without the "account temporarily locked" marker). Phone OTP endpoints throw OtpRateLimitException instead — they have a separate rate-limiter on the server.

Inheritance

Constructors

RateLimitException([String? message])
const

Properties

code String?
The server's stable error code, when it sent one. Prefer branching on the exception type; this is for logging and for codes the SDK does not yet map.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String
What went wrong, in words. From the server where it said something useful.
finalinherited
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