Iskra API Reference
    Preparing search index...

    Interface ErrorOptions

    How the Kernel reports errors: ErrorHandlerFeature's options.

    interface ErrorOptions {
        customHandlers?: {
            [key: number]: (error: Error, c: Context) => Response;
        };
        includeStack: boolean;
        logger?: (error: Error, c: Context) => void;
    }
    Index
    customHandlers?: { [key: number]: (error: Error, c: Context) => Response }
    includeStack: boolean

    Send the stack, the context of 5xx errors and the message of hidden ones.

    logger?: (error: Error, c: Context) => void