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

    Class MfaEnrollmentFactorsError

    Error thrown when getting enrollment factors fails.

    try {
    const factors = await mfa.getEnrollmentFactors(mfaToken);
    } catch (error) {
    if (error instanceof MfaEnrollmentFactorsError) {
    console.log(error.error); // 'mfa_context_not_found'
    console.log(error.error_description); // 'MFA context not found...'
    }
    }

    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