Class: UKomiRateLimitException
Thrown when a per-user rate limit is hit (HTTP 429). retryAfterSeconds carries the cool-down duration when available.
Extends
Constructors
Constructor
ts
new UKomiRateLimitException(retryAfterSeconds?: number, cause?: Error): UKomiRateLimitException;Parameters
retryAfterSeconds?
number
cause?
Error
Returns
UKomiRateLimitException
Overrides
Properties
cause?
ts
optional cause?: Error;Optional underlying error that caused this exception
Inherited from
code
ts
code: number;HTTP status code or API error code
Inherited from
details?
ts
optional details?: unknown;Raw response body from the API. Shape is API-version dependent, not part of the stable surface — prefer the specialized exception subclasses.
Inherited from
retryAfterSeconds?
ts
readonly optional retryAfterSeconds?: number;