gnap-caep-client
    Preparing search index...

    Class GNAPError

    The authorization server answered with a GNAP error response (RFC 9635 section 3.6): { "error": { "code", "description" } }, or the bare-string form { "error": "code" }. error is the GNAP error code (user_denied, invalid_client, too_fast, ...).

    Hierarchy (View Summary)

    Index
    • Parameters

      • opts: {
            continue?: Record<string, any>;
            error: string;
            error_description?: string;
            response?: unknown;
            status?: number;
        }

      Returns GNAPError

    cause?: unknown
    code: string | undefined
    continue: Record<string, any> | undefined

    The continue object an error response may carry (section 3.6), when the grant can go on.

    error: string

    The GNAP error code.

    error_description: string | undefined
    message: string
    name: string
    response: unknown
    stack?: string
    status: number | undefined