Auth0 React SDK
    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
    data?: Record<string, any>
    error: string
    error_description: string
    • Parameters

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

      Returns MfaError