Enum aws_sdk_support::Error
source · #[non_exhaustive]
pub enum Error {
AttachmentIdNotFound(AttachmentIdNotFound),
AttachmentLimitExceeded(AttachmentLimitExceeded),
AttachmentSetExpired(AttachmentSetExpired),
AttachmentSetIdNotFound(AttachmentSetIdNotFound),
AttachmentSetSizeLimitExceeded(AttachmentSetSizeLimitExceeded),
CaseCreationLimitExceeded(CaseCreationLimitExceeded),
CaseIdNotFound(CaseIdNotFound),
DescribeAttachmentLimitExceeded(DescribeAttachmentLimitExceeded),
InternalServerError(InternalServerError),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AttachmentIdNotFound(AttachmentIdNotFound)
An attachment with the specified ID could not be found.
AttachmentLimitExceeded(AttachmentLimitExceeded)
The limit for the number of attachment sets created in a short period of time has been exceeded.
AttachmentSetExpired(AttachmentSetExpired)
The expiration time of the attachment set has passed. The set expires 1 hour after it is created.
AttachmentSetIdNotFound(AttachmentSetIdNotFound)
An attachment set with the specified ID could not be found.
AttachmentSetSizeLimitExceeded(AttachmentSetSizeLimitExceeded)
A limit for the size of an attachment set has been exceeded. The limits are three attachments and 5 MB per attachment.
CaseCreationLimitExceeded(CaseCreationLimitExceeded)
The case creation limit for the account has been exceeded.
CaseIdNotFound(CaseIdNotFound)
The requested caseId
couldn't be located.
DescribeAttachmentLimitExceeded(DescribeAttachmentLimitExceeded)
The limit for the number of DescribeAttachment
requests in a short period of time has been exceeded.
InternalServerError(InternalServerError)
An internal server error occurred.
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.