jimpex
    Preparing search index...

    Type Alias ErrorHandlerResponseOptions

    The options for the responses the middleware will create.

    type ErrorHandlerResponseOptions = {
        message: string;
        status: number;
    }
    Index

    Properties

    Properties

    message: string

    The message to show in case showErrors is set to false.

    'Oops! Something went wrong, please try again'
    
    status: number

    The default status code for the responses.

    500