#[non_exhaustive]
pub enum Error {
ClientLimitExceededException(ClientLimitExceededException),
InvalidArgumentException(InvalidArgumentException),
InvalidClientException(InvalidClientException),
NotAuthorizedException(NotAuthorizedException),
ResourceNotFoundException(ResourceNotFoundException),
SessionExpiredException(SessionExpiredException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
ClientLimitExceededException(ClientLimitExceededException)
Your request was throttled because you have exceeded the limit of allowed client calls. Try making the call later.
InvalidArgumentException(InvalidArgumentException)
The value for this input parameter is invalid.
InvalidClientException(InvalidClientException)
The specified client is invalid.
NotAuthorizedException(NotAuthorizedException)
The caller is not authorized to perform this operation.
ResourceNotFoundException(ResourceNotFoundException)
The specified resource is not found.
SessionExpiredException(SessionExpiredException)
If the client session is expired. Once the client is connected, the session is valid for 45 minutes. Client should reconnect to the channel to continue sending/receiving messages.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
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