@auth0/auth0-angular
    Preparing search index...

    Class GenericError

    Thrown when network requests to the Auth server fail.

    Hierarchy (View Summary)

    Index
    • Parameters

      • error: string

        The error code from the server response.

      • error_description: string

        The error_description from the server response.

      • Optionaldata: Record<string, any>

        Any other fields from the server's error response (for example auth_session).

      Returns GenericError

    data?: Record<string, any>
    error: string
    error_description: string
    message: string
    name: string
    originalStack?: string

    Original stack trace with no modifications

    stack?: string
    zoneAwareStack?: string

    Stack trace where extra frames have been removed and zone names added.

    • Parameters

      • __namedParameters: { error: string; error_description: string }

      Returns GenericError