public final class ErrorCodes extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ErrorCodes.Code
Valid codes that can be returned from
FirebaseUiException.getErrorCode(). |
| Modifier and Type | Field and Description |
|---|---|
static int |
ANONYMOUS_UPGRADE_MERGE_CONFLICT
Anonymous account linking failed.
|
static int |
DEVELOPER_ERROR
A sign-in operation couldn't be completed due to a developer error.
|
static int |
EMAIL_LINK_CROSS_DEVICE_LINKING_ERROR
Cross device linking flow - we need to ask the user if they want to continue linking or
just sign in.
|
static int |
EMAIL_LINK_DIFFERENT_ANONYMOUS_USER_ERROR
Attempting to open an email link from the same device, with anonymous upgrade enabled,
but the underlying anonymous user has been changed.
|
static int |
EMAIL_LINK_PROMPT_FOR_EMAIL_ERROR
We need to prompt the user for their email.
|
static int |
EMAIL_LINK_WRONG_DEVICE_ERROR
Attempting to open an email link from a different device.
|
static int |
EMAIL_MISMATCH_ERROR
Signing in with a different email in the WelcomeBackIdp flow or email link flow.
|
static int |
ERROR_GENERIC_IDP_RECOVERABLE_ERROR
Recoverable error occurred during the Generic IDP flow.
|
static int |
ERROR_USER_DISABLED
Attempting to auth with account that is currently disabled in the Firebase console.
|
static int |
INVALID_EMAIL_LINK_ERROR
Attempting to sign in with an invalid email link.
|
static int |
NO_NETWORK
Sign in failed due to lack of network connection.
|
static int |
PLAY_SERVICES_UPDATE_CANCELLED
A required update to Play Services was cancelled by the user.
|
static int |
PROVIDER_ERROR
An external sign-in provider error occurred.
|
static int |
UNKNOWN_ERROR
An unknown error has occurred.
|
public static final int UNKNOWN_ERROR
public static final int NO_NETWORK
public static final int PLAY_SERVICES_UPDATE_CANCELLED
public static final int DEVELOPER_ERROR
public static final int PROVIDER_ERROR
public static final int ANONYMOUS_UPGRADE_MERGE_CONFLICT
public static final int EMAIL_MISMATCH_ERROR
public static final int INVALID_EMAIL_LINK_ERROR
public static final int EMAIL_LINK_WRONG_DEVICE_ERROR
public static final int EMAIL_LINK_PROMPT_FOR_EMAIL_ERROR
public static final int EMAIL_LINK_CROSS_DEVICE_LINKING_ERROR
public static final int EMAIL_LINK_DIFFERENT_ANONYMOUS_USER_ERROR
public static final int ERROR_USER_DISABLED
public static final int ERROR_GENERIC_IDP_RECOVERABLE_ERROR
@NonNull public static String toFriendlyMessage(int code)