Reference
Errors
Error classes returned by the gateway.
Errors are returned in OpenAI-compatible shape and classified into types you can branch on. Common classes:
| Type | Meaning |
|---|---|
auth_error | Missing or invalid credential |
rate_limit_error | Per-key or provider rate limit hit |
quota_exceeded | Budget or quota limit reached |
model_not_available | Model not accessible to this role |
timeout | Upstream provider timed out |
provider_error | Upstream provider returned an error |
Every error carries an X-Correlation-ID (ULID). Include it when contacting
support — it maps directly to the error log
entry. Error messages are sanitized and never echo prompt content.