Setu-TS
    Preparing search index...

    Interface ErrorResponseInit

    The initialization of an error response produced through the responder seam.

    0.1.0

    interface ErrorResponseInit {
        detail?: string;
        details?: Readonly<Record<string, unknown>>;
        status: number;
        title: string;
    }

    Hierarchy (View Summary)

    Index
    detail?: string

    An optional disclosure, kept verbatim by every format.

    details?: Readonly<Record<string, unknown>>

    Optional structured details (e.g. a validation errors array).

    status: number

    The HTTP status code to answer with.

    title: string

    The framework-default error member. In a formatted response this is the Problem Details detail when no detail is supplied.