The authorization server encountered an unexpected condition that prevented it from fulfilling the request.

This error code is needed because a 500 Internal Server Error HTTP status code cannot be returned to the client via an HTTP redirect.

Hierarchy (View Summary)

Constructors

Properties

cause?: unknown
code: string
error: string
error_description?: string
error_uri?: string
message: string
name: string
stack?: string
state?: string
statusCode: number
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Parameters

    Returns
        | {
            error: string;
            error_description: undefined
            | string;
            error_uri: undefined | string;
            state: undefined | string;
        }
        | {
            error: string;
            error_description?: undefined;
            error_uri?: undefined;
            state?: undefined;
        }

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void