Skip to main content

Module error

Module error 

Source
Expand description

Structured, no-leak errors (SPEC §7.4: “errors are structured, never prose an agent must parse”).

Every error the proxy returns to a caller is {"error": {"type": "...", "message": "..."}}. Nothing here ever includes a stack trace, an API key, or raw prompt text.

Enums§

ProxyError
Errors that can surface on the request path.