Setu-TS
    Preparing search index...

    Interface ProblemDetails

    A Problem Details object as defined by RFC 9457.

    Extension members beyond the five core fields are allowed (RFC 9457 §3.2), so errors and stack may be present.

    0.1.0

    interface ProblemDetails {
        detail: string;
        errors?: readonly { code?: string; field: string; message: string }[];
        instance?: string;
        stack?: string;
        status: number;
        title: string;
        type: string;
        readonly [key: string]: unknown;
    }

    Indexable

    • readonly [key: string]: unknown

      Allow callers to attach further extension members.

    Index
    detail: string

    A human-readable explanation specific to this occurrence.

    errors?: readonly { code?: string; field: string; message: string }[]

    Optional validation failures extension (present for 422 errors).

    instance?: string

    A URI reference identifying the specific occurrence (request path).

    stack?: string

    Optional stack trace (present only when includeStackTrace is on).

    status: number

    The HTTP status code generated for this occurrence.

    title: string

    A short, human-readable summary of the problem type.

    type: string

    A URI reference identifying the problem type.