ENUM

RegisterTwoFactorErrorCode

The possible error enums returned while trying to register for two factor authentication.

link GraphQL Schema definition

1enum RegisterTwoFactorErrorCode {
2
3# The user needs to re-authenticate to perform this operation.
4REAUTH_NEEDED
5
6# Phone number was not provided.
7MISSING_PHONE_NUMBER
8
9# Phone number was not valid.
10INVALID_PHONE_NUMBER
11
12# The user has requested to register for two factor authentication too many times.
13REQUEST_THROTTLED
14
15# The user does not have a verified email.
16EMAIL_NOT_VERIFIED
17
18# Something unexpected occured.
19UNKNOWN_ERROR
20}