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

    Class MyAccountApiError

    Error thrown when the MyAccount API returns a non-2xx response.

    try {
    await myAccount.getAuthenticationMethods();
    } catch (err) {
    if (err instanceof MyAccountApiError) {
    console.error(err.status, err.title, err.detail);
    }
    }

    Hierarchy

    • Error
      • MyAccountApiError
    Index
    • Parameters

      • __namedParameters: ErrorResponse

      Returns MyAccountApiError

    detail: string

    Human-readable explanation specific to this occurrence

    message: string
    name: string
    originalStack?: string

    Original stack trace with no modifications

    stack?: string
    status: number

    HTTP status code

    title: string

    Short human-readable summary of the error

    type: string

    RFC 7807 error type identifier

    validation_errors?: {
        detail: string;
        field?: string;
        pointer?: string;
        source?: string;
    }[]

    Field-level validation errors, if present

    zoneAwareStack?: string

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