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(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
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(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
sourceimpl Error for Error
impl Error for Error
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<R> From<SdkError<AddAttachmentsToSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AddAttachmentsToSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AddAttachmentsToSetError, R>) -> Self
fn from(err: SdkError<AddAttachmentsToSetError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<AddCommunicationToCaseError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AddCommunicationToCaseError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AddCommunicationToCaseError, R>) -> Self
fn from(err: SdkError<AddCommunicationToCaseError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateCaseError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateCaseError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateCaseError, R>) -> Self
fn from(err: SdkError<CreateCaseError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeAttachmentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeAttachmentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeAttachmentError, R>) -> Self
fn from(err: SdkError<DescribeAttachmentError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeCasesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeCasesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeCasesError, R>) -> Self
fn from(err: SdkError<DescribeCasesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeCommunicationsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeCommunicationsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeCommunicationsError, R>) -> Self
fn from(err: SdkError<DescribeCommunicationsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeServicesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeServicesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeServicesError, R>) -> Self
fn from(err: SdkError<DescribeServicesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeSeverityLevelsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeSeverityLevelsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeSeverityLevelsError, R>) -> Self
fn from(err: SdkError<DescribeSeverityLevelsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeTrustedAdvisorCheckRefreshStatusesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeTrustedAdvisorCheckRefreshStatusesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(
err: SdkError<DescribeTrustedAdvisorCheckRefreshStatusesError, R>
) -> Self
fn from(
err: SdkError<DescribeTrustedAdvisorCheckRefreshStatusesError, R>
) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeTrustedAdvisorCheckResultError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeTrustedAdvisorCheckResultError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeTrustedAdvisorCheckResultError, R>) -> Self
fn from(err: SdkError<DescribeTrustedAdvisorCheckResultError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeTrustedAdvisorCheckSummariesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeTrustedAdvisorCheckSummariesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeTrustedAdvisorCheckSummariesError, R>) -> Self
fn from(err: SdkError<DescribeTrustedAdvisorCheckSummariesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeTrustedAdvisorChecksError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeTrustedAdvisorChecksError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeTrustedAdvisorChecksError, R>) -> Self
fn from(err: SdkError<DescribeTrustedAdvisorChecksError, R>) -> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more