Optional ReadonlycauseOptional ReadonlycodeReadonlyheadersReadonlylimitThe limit that was exceeded.
Optional ReadonlymetadataReadonlyresetEpoch ms at which the window resets.
ReadonlyretrySeconds to wait before retrying.
ReadonlystatusReadonlystatusConverts the error to a formatted string representation.
Optionalmultiline: boolean
Determine if output value must be multiline or not.
A formatted error string.
StaticcreateCreate a RuntimeError.
Optionaloptions: ErrorOptions
The options to create a RuntimeError.
A new RuntimeError instance.
Raised when a caller has spent its budget.
It declares its own status,
429, because this module knows nothing about the platform answering: the HTTP error handler honours a declared status, and a CLI or a queue consumer reads the error itself.Retry-Aftertravels with it, since a refusal that does not say when to come back invites exactly the retry storm the limit exists to stop.