Skip to content

Interface: ErrorResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ErrorResponse

Defined in: src/types/common.ts:240

Standard error response body returned by the backend on 4xx/5xx responses.

The engine’s plain ErrorResponse. On the common error path error is the HTTP reason phrase ("Not Found") and message the failure in words. Coded refusal bodies carry these two fields plus their own.

error: string

Defined in: src/types/common.ts:242

The HTTP reason phrase, or an error type identifier.


message: string

Defined in: src/types/common.ts:244

Human-readable error message.