basalt / http/src / ErrorResponse
Interface: ErrorResponse
Defined in: http/src/pipeline.ts:191
Properties
body
> body: object
Defined in: http/src/pipeline.ts:193
error
> error: object
error.code
> code: string
error.details?
> optional details?: ErrorDetails
Structured payload from an error deliberately constructed with one (new HttpError(status, code, message, { details }), or any BasaltError with a numeric status other than 500). Absent otherwise — an unexpected exception, or a toolkit 500, never grows one.
error.issues?
> optional issues?: ValidationIssue[]
error.message
> message: string
error.part?
> optional part?: string
status
> status: number
Defined in: http/src/pipeline.ts:192