Setu-TS
    Preparing search index...

    Interface DefaultErrorBody

    The framework-standard error body shape.

    0.1.0

    interface DefaultErrorBody {
        details?: Readonly<Record<string, unknown>>;
        message: string;
        stack?: string;
        statusCode: number;
        readonly [key: string]: unknown;
    }

    Indexable

    • readonly [key: string]: unknown

      Allow callers to attach further members.

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

    Optional structured details (present when the error carries any).

    message: string

    Human-readable error message.

    stack?: string

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

    statusCode: number

    The HTTP status code.