Skip to content

covenix / ProblemDetails

Interface: ProblemDetails

Defined in: src/errors.ts:67

An RFC 9457 Problem Details object — the default error body covenix emits (application/problem+json).

Properties

detail?

optional detail?: string

Defined in: src/errors.ts:75

Human-readable explanation, when it adds information beyond title.


errors?

optional errors?: object[]

Defined in: src/errors.ts:80

Field-level validation errors (an RFC 9457 extension member). Present for ValidationError.

message

message: string

path

path: PropertyKey[]


status

status: number

Defined in: src/errors.ts:73

HTTP status code.


title

title: string

Defined in: src/errors.ts:71

Short, human-readable summary — the HTTP status reason phrase by default.


type

type: string

Defined in: src/errors.ts:69

A URI identifying the problem type; 'about:blank' means "see title".