@nowarajs/elysia-jwt
    Preparing search index...

    Interface JwtPluginErrorOptions<T>

    interface JwtPluginErrorOptions<T = unknown> {
        cause?: T;
        httpStatusCode?: number;
        message?: string;
    }

    Type Parameters

    • T = unknown
    Index

    Properties

    cause?: T

    The cause of the error, which can be an original error or additional context.

    httpStatusCode?: number

    The HTTP status code associated with the error, typically used in API responses.

    message?: string

    The error message describing what went wrong.