ErrorResponse
Defined in: src/core/errors.ts:48
Standard JSON error response shape returned by all gateway errors.
Properties
Section titled “Properties”error:
string
Defined in: src/core/errors.ts:50
Machine-readable error code (e.g. "rate_limited", "unauthorized").
message
Section titled “message”message:
string
Defined in: src/core/errors.ts:52
Human-readable error description.
requestId?
Section titled “requestId?”
optionalrequestId:string
Defined in: src/core/errors.ts:56
Request ID for tracing, when available.
statusCode
Section titled “statusCode”statusCode:
number
Defined in: src/core/errors.ts:54
HTTP status code (e.g. 401, 429, 503).