Skip to content

ErrorResponse

Defined in: src/core/errors.ts:48

Standard JSON error response shape returned by all gateway errors.

error: string

Defined in: src/core/errors.ts:50

Machine-readable error code (e.g. "rate_limited", "unauthorized").


message: string

Defined in: src/core/errors.ts:52

Human-readable error description.


optional requestId: string

Defined in: src/core/errors.ts:56

Request ID for tracing, when available.


statusCode: number

Defined in: src/core/errors.ts:54

HTTP status code (e.g. 401, 429, 503).