AuthException class
The base class for Auth exceptions.
- Implementers
- AliasExistsException
- CodeDeliveryFailureException
- CodeExpiredException
- CodeMismatchException
- DeviceNotTrackedException
- FailedAttemptsLimitExceededException
- InternalErrorException
- InvalidAccountTypeException
- InvalidParameterException
- InvalidPasswordException
- InvalidStateException
- InvalidUserPoolConfigurationException
- LambdaException
- LimitExceededException
- MFAMethodNotFoundException
- NotAuthorizedException
- PasswordResetRequiredException
- ResourceNotFoundException
- SessionExpiredException
- SessionUnavailableOfflineException
- SessionUnavailableServiceException
- SignedOutException
- SoftwareTokenMFANotFoundException
- TooManyFailedAttemptsException
- TooManyRequestsException
- UnknownException
- UserCancelledException
- UsernameExistsException
- UserNotConfirmedException
- UserNotFoundException
Constructors
- AuthException(String message, {String? recoverySuggestion, String? underlyingException})
-
The base class for Auth exceptions.
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) → AuthException - Returns a new instance of this exception constructed from the serialized exception data