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

    Class MfaListAuthenticatorsError

    Error thrown when listing MFA authenticators fails.

    try {
    const authenticators = await mfa.getAuthenticators();
    } catch (error) {
    if (error instanceof MfaListAuthenticatorsError) {
    console.log(error.error); // 'access_denied'
    console.log(error.error_description); // 'Unauthorized'
    }
    }

    Hierarchy (View Summary)

    Index
    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 MfaError