Enum aws_sdk_iotdataplane::Error
source · #[non_exhaustive]
pub enum Error {
ConflictException(ConflictException),
InternalFailureException(InternalFailureException),
InvalidRequestException(InvalidRequestException),
MethodNotAllowedException(MethodNotAllowedException),
RequestEntityTooLargeException(RequestEntityTooLargeException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceUnavailableException(ServiceUnavailableException),
ThrottlingException(ThrottlingException),
UnauthorizedException(UnauthorizedException),
UnsupportedDocumentEncodingException(UnsupportedDocumentEncodingException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ConflictException(ConflictException)
The specified version does not match the version of the document.
InternalFailureException(InternalFailureException)
An unexpected error has occurred.
InvalidRequestException(InvalidRequestException)
The request is not valid.
MethodNotAllowedException(MethodNotAllowedException)
The specified combination of HTTP verb and URI is not supported.
RequestEntityTooLargeException(RequestEntityTooLargeException)
The payload exceeds the maximum size allowed.
ResourceNotFoundException(ResourceNotFoundException)
The specified resource does not exist.
The service is temporarily unavailable.
ThrottlingException(ThrottlingException)
The rate exceeds the limit.
You are not authorized to perform this operation.
UnsupportedDocumentEncodingException(UnsupportedDocumentEncodingException)
The document encoding is not supported.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.