Overview
Rate limit errors are thrown when a client exceeds request rate limits or usage quotas. Both are public errors that inform the client about the limitation.Error Reference
RateLimitError
Thrown when a client exceeds the configured request rate limit.| Property | Type | Value |
|---|---|---|
code | string | RATE_LIMIT_EXCEEDED |
statusCode | number | 429 |
isPublic | boolean | true |
retryAfter is provided, the message includes the number of seconds the client should wait before retrying.
Example:
QuotaExceededError
Thrown when a client exceeds a usage quota (e.g., monthly API calls, storage).| Property | Type | Value |
|---|---|---|
code | string | QUOTA_EXCEEDED |
statusCode | number | 429 |
isPublic | boolean | true |