AliasExistsException class final

This exception is thrown when a user tries to confirm the account with an email address or phone number that has already been supplied as an alias for a different user profile. This exception indicates that an account with this email address or phone already exists in a user pool that you've configured to use email address or phone number as a sign-in alias.

Inheritance

Constructors

AliasExistsException(String message, {String? recoverySuggestion, Object? underlyingException})
This exception is thrown when a user tries to confirm the account with an email address or phone number that has already been supplied as an alias for a different user profile. This exception indicates that an account with this email address or phone already exists in a user pool that you've configured to use email address or phone number as a sign-in alias.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A descriptive message of the problem.
finalinherited
props List<Object?>
The type's equatable properties.
no setterinherited
recoverySuggestion String?
How to recover from this exception.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
runtimeTypeName String
The string value of runtimeType, saving a runtime lookup and preventing obfuscation during web compilation.
no setteroverride
underlyingException Object?
Underlying cause of this exception helpful for debugging.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Serializes this as a JSON object.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited