Create a new rate limit error
Description of rate limit violation
OptionalretryAfter: numberNumber of seconds to wait before retrying (optional)
ReadonlycodeMachine-readable error code (e.g., 'VALIDATION_ERROR')
ReadonlystatusHTTP status code (default: 500)
Optional ReadonlydetailsOptional additional error details for debugging
Optional ReadonlyretryNumber of seconds to wait before retrying (optional)
Rate limit error when API rate limit is exceeded
Thrown when the client exceeds the configured rate limit. Always returns HTTP 429 status and includes retry-after information.
Example