#[non_exhaustive]pub enum Error {
ClientLimitExceededException(ClientLimitExceededException),
InvalidArgumentException(InvalidArgumentException),
InvalidClientException(InvalidClientException),
NotAuthorizedException(NotAuthorizedException),
ResourceNotFoundException(ResourceNotFoundException),
SessionExpiredException(SessionExpiredException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
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(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<GetIceServerConfigError> for Error
impl From<GetIceServerConfigError> for Error
source§fn from(err: GetIceServerConfigError) -> Self
fn from(err: GetIceServerConfigError) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetIceServerConfigError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetIceServerConfigError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<GetIceServerConfigError, R>) -> Self
fn from(err: SdkError<GetIceServerConfigError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<SendAlexaOfferToMasterError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SendAlexaOfferToMasterError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<SendAlexaOfferToMasterError, R>) -> Self
fn from(err: SdkError<SendAlexaOfferToMasterError, R>) -> Self
Converts to this type from the input type.
source§impl From<SendAlexaOfferToMasterError> for Error
impl From<SendAlexaOfferToMasterError> for Error
source§fn from(err: SendAlexaOfferToMasterError) -> Self
fn from(err: SendAlexaOfferToMasterError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more