@accelerated-software-development/caddy-api-client - v0.4.3
    Preparing search index...

    Interface ErrorRouteOptions

    Options for building an error route

    interface ErrorRouteOptions {
        headers?: Record<string, string[]>;
        id?: string;
        match?: { host?: string[]; path?: string[] };
        message?: string;
        priority?: number;
        statusCode: number;
    }
    Index

    Properties

    headers?: Record<string, string[]>

    Custom headers to include

    id?: string

    Route ID

    match?: { host?: string[]; path?: string[] }

    Route matchers (optional, applies to all requests if not specified)

    message?: string

    Error message body

    priority?: number

    Route priority

    statusCode: number

    HTTP status code