Thrown when an operation on a
instance couldn't be completed due to a conflict with another existing user.
This could happen in the following cases:
ERROR_EMAIL_ALREADY_IN_USEwhen trying to create a new account with
createUserWithEmailAndPassword(String, String)or to change a user's email address, if the email is already in use by a different account
signInWithCredential(AuthCredential)with a credential that asserts an email address in use by another account. This error will only be thrown if the "One account per email address" setting is enabled in the Firebase console (recommended).
ERROR_CREDENTIAL_ALREADY_IN_USEwhen trying to link a user with an
AuthCredentialcorresponding to another account already in use.
Resolve this exception by asking the user to sign in again with valid credentials. In the
case that this is thrown when using a
you can retrieve an updated credential from
getUpdatedCredential() and use it to sign-in.
Public Method Summary
Inherited Method Summary
|synchronized final void||
|synchronized final Throwable||
public String getEmail ()
Returns the email used when an error occurred when trying to sign in or link with an
which was already associated with an account. Otherwise, returns