AliasExistsException class
Exception thrown when attempts are made to confirm the account with an email or phone number that has already been supplied as an alias from a different account. This exception indicates an account with this email or phone already exists.
- Inheritance
-
- Object
- AmplifyException
- AuthException
- AliasExistsException
Constructors
- AliasExistsException(String message, {String? recoverySuggestion, String? underlyingException})
-
Exception thrown when attempts are made to confirm the account with an email
or phone number that has already been supplied as an alias from a different
account. This exception indicates an account with this email or phone
already exists.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Message contained in the exception
finalinherited
- recoverySuggestion → String?
-
How to recover from this exception (Optional)
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- underlyingException → String?
-
Underlying cause of this exception helpful for debugging (Optional)
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, String> serializedException) → AliasExistsException -
Returns a new instance of this exception constructed from the serialized
exception data.
override