Documentation
    Preparing search index...

    Normalized HTTP error structure used by exception handlers

    type HttpError = {
        message: string;
        status: number;
        code?: string;
        stack?: string;
        cause?: any;
        messages?: any;
        errors?: any;
        handle?: (...args: any[]) => any;
        report?: (...args: any[]) => any;
    }
    Index

    Properties

    message: string

    Error message describing the issue

    status: number

    HTTP status code

    code?: string

    Optional error code identifier

    stack?: string

    Optional stack trace

    cause?: any

    Optional underlying cause of the error

    messages?: any

    Optional additional error messages

    errors?: any

    Optional validation or field errors

    handle?: (...args: any[]) => any

    Optional custom error handler method

    report?: (...args: any[]) => any

    Optional error reporting method