#[non_exhaustive]
pub enum GetIdErrorKind {
ExternalServiceException(ExternalServiceException),
InternalErrorException(InternalErrorException),
InvalidParameterException(InvalidParameterException),
LimitExceededException(LimitExceededException),
NotAuthorizedException(NotAuthorizedException),
ResourceConflictException(ResourceConflictException),
ResourceNotFoundException(ResourceNotFoundException),
TooManyRequestsException(TooManyRequestsException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the GetId
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
ExternalServiceException(ExternalServiceException)
An exception thrown when a dependent service such as Facebook or Twitter is not responding
InternalErrorException(InternalErrorException)
Thrown when the service encounters an error during processing the request.
InvalidParameterException(InvalidParameterException)
Thrown for missing or bad input parameter(s).
LimitExceededException(LimitExceededException)
Thrown when the total number of user pools has exceeded a preset limit.
NotAuthorizedException(NotAuthorizedException)
Thrown when a user is not authorized to access the requested resource.
ResourceConflictException(ResourceConflictException)
Thrown when a user tries to use a login which is already linked to another account.
ResourceNotFoundException(ResourceNotFoundException)
Thrown when the requested resource (for example, a dataset or record) does not exist.
TooManyRequestsException(TooManyRequestsException)
Thrown when a request is throttled.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GetIdErrorKind
impl Send for GetIdErrorKind
impl Sync for GetIdErrorKind
impl Unpin for GetIdErrorKind
impl !UnwindSafe for GetIdErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more