The initialization of an error response produced through the responder seam.
readonly
status: number
The HTTP status code to answer with.
readonly
title: string
The framework-default error member. In a formatted response this is the
Problem Details detail when no detail is supplied.
readonly
optional
detail: string
An optional disclosure, kept verbatim by every format.
readonly
optional
details: Readonly<Record<string, unknown>>
Optional structured details (e.g. a validation errors array).