amplify_auth_plugin_interface
library
Exceptions / Errors
-
AliasExistsException
-
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.
-
AuthException
-
The base class for Auth exceptions.
-
CodeDeliveryFailureException
-
Exception thrown when a verification code fails to deliver successfully.
-
CodeExpiredException
-
Exception thrown when a verification code provided to the requested service
is expired.
-
CodeMismatchException
-
Exception thrown when a verification code provided to the requested service
doesn't match what the service was expecting.
-
DeviceNotTrackedException
-
Exception thrown when a request is made for a device which is either not
currently tracked or previously forgotten.
-
FailedAttemptsLimitExceededException
-
Exception thrown when too many failed attempts for a given action has been
made, such as sign-in.
-
InternalErrorException
-
Exception thrown when the requested service encounters an internal error.
-
InvalidAccountTypeException
-
Exception thrown when the configuration of the signed in account does not
support the requested operation.
-
InvalidParameterException
-
Exception thrown when the requested service encounters an invalid parameter.
-
InvalidPasswordException
-
Exception thrown when the requested service encounters an invalid password.
-
InvalidStateException
-
Exception thrown when the requested operation is not valid in the current
Amplity Auth state.
-
InvalidUserPoolConfigurationException
-
Exception thrown when a user pool configuration provided to the requested
service is invalid.
-
LambdaException
-
Exception thrown when an error from the AWS Lambda service is encountered.
-
LimitExceededException
-
Exception thrown when the limit for the requested service resource is
exceeded.
-
MFAMethodNotFoundException
-
Exception thrown when the requested service cannot find a multi-factor
authentication (MFA) method
-
NotAuthorizedException
-
Exception thrown when a user isn't authorized to access the requested
resource.
-
PasswordResetRequiredException
-
Exception thrown when the requested operation requires a password reset.
-
ResourceNotFoundException
-
Exception thrown when the requested resource doesn't exist.
-
SessionExpiredException
-
Exception thrown when the current session is expired.
-
SessionUnavailableOfflineException
-
Exception thrown when valid credentials could not be obtained due to the
device being offline.
-
SessionUnavailableServiceException
-
Exception thrown when valid credentials could not be obtained due to the
an error from the requested service.
-
SignedOutException
-
Exception thrown when the requested operation can't be performed due to the
user being signed out.
-
SoftwareTokenMFANotFoundException
-
Exception thrown when the software token time-based one-time password (TOTP)
multi-factor authentication (MFA) isn't activated for the user pool.
-
TooManyFailedAttemptsException
-
Exception thrown when too many failed attempts have been made for a given
action, such as sign-in.
-
TooManyRequestsException
-
Exception thrown when a request is being made too frequently and is more
than what the requested service can handle.
-
UnknownException
-
Exception thrown when an unknown error from an underlying SDK or service is
encountered.
-
UserCancelledException
-
Exception thrown when a requested operation could not be completed because
it was cancelled by the user.
-
UsernameExistsException
-
Exception thrown when the requested service encounters a user name that
already exists in the user pool.
-
UserNotConfirmedException
-
Exception thrown when the requested operation can't be performed because
the user hasn't been confirmed successfully with the requested service.
-
UserNotFoundException
-
Exception thrown when the requested operation can't be performed because
the user can't be found by the requested service.