Enum aws_sdk_amplifybackend::Error
source · [−]#[non_exhaustive]
pub enum Error {
BadRequestException(BadRequestException),
GatewayTimeoutException(GatewayTimeoutException),
NotFoundException(NotFoundException),
TooManyRequestsException(TooManyRequestsException),
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
BadRequestException(BadRequestException)
An error returned if a request is not formed properly.
GatewayTimeoutException(GatewayTimeoutException)
An error returned if there's a temporary issue with the service.
NotFoundException(NotFoundException)
An error returned when a specific resource type is not found.
TooManyRequestsException(TooManyRequestsException)
An error that is returned when a limit of a specific type has been exceeded.
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
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<R> From<SdkError<CloneBackendError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CloneBackendError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CloneBackendError, R>) -> Self
fn from(err: SdkError<CloneBackendError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateBackendAPIError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateBackendAPIError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateBackendAPIError, R>) -> Self
fn from(err: SdkError<CreateBackendAPIError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateBackendAuthError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateBackendAuthError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateBackendAuthError, R>) -> Self
fn from(err: SdkError<CreateBackendAuthError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateBackendConfigError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateBackendConfigError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateBackendConfigError, R>) -> Self
fn from(err: SdkError<CreateBackendConfigError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateBackendError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateBackendError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateBackendError, R>) -> Self
fn from(err: SdkError<CreateBackendError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateBackendStorageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateBackendStorageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateBackendStorageError, R>) -> Self
fn from(err: SdkError<CreateBackendStorageError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateTokenError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateTokenError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateTokenError, R>) -> Self
fn from(err: SdkError<CreateTokenError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteBackendAPIError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteBackendAPIError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteBackendAPIError, R>) -> Self
fn from(err: SdkError<DeleteBackendAPIError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteBackendAuthError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteBackendAuthError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteBackendAuthError, R>) -> Self
fn from(err: SdkError<DeleteBackendAuthError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteBackendError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteBackendError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteBackendError, R>) -> Self
fn from(err: SdkError<DeleteBackendError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteBackendStorageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteBackendStorageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteBackendStorageError, R>) -> Self
fn from(err: SdkError<DeleteBackendStorageError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteTokenError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteTokenError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteTokenError, R>) -> Self
fn from(err: SdkError<DeleteTokenError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GenerateBackendAPIModelsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GenerateBackendAPIModelsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GenerateBackendAPIModelsError, R>) -> Self
fn from(err: SdkError<GenerateBackendAPIModelsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetBackendAPIError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetBackendAPIError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetBackendAPIError, R>) -> Self
fn from(err: SdkError<GetBackendAPIError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetBackendAPIModelsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetBackendAPIModelsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetBackendAPIModelsError, R>) -> Self
fn from(err: SdkError<GetBackendAPIModelsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetBackendAuthError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetBackendAuthError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetBackendAuthError, R>) -> Self
fn from(err: SdkError<GetBackendAuthError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetBackendError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetBackendError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetBackendError, R>) -> Self
fn from(err: SdkError<GetBackendError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetBackendJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetBackendJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetBackendJobError, R>) -> Self
fn from(err: SdkError<GetBackendJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetBackendStorageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetBackendStorageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetBackendStorageError, R>) -> Self
fn from(err: SdkError<GetBackendStorageError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetTokenError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetTokenError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetTokenError, R>) -> Self
fn from(err: SdkError<GetTokenError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ImportBackendAuthError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ImportBackendAuthError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ImportBackendAuthError, R>) -> Self
fn from(err: SdkError<ImportBackendAuthError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ImportBackendStorageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ImportBackendStorageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ImportBackendStorageError, R>) -> Self
fn from(err: SdkError<ImportBackendStorageError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListBackendJobsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListBackendJobsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListBackendJobsError, R>) -> Self
fn from(err: SdkError<ListBackendJobsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListS3BucketsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListS3BucketsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListS3BucketsError, R>) -> Self
fn from(err: SdkError<ListS3BucketsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<RemoveAllBackendsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RemoveAllBackendsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RemoveAllBackendsError, R>) -> Self
fn from(err: SdkError<RemoveAllBackendsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<RemoveBackendConfigError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RemoveBackendConfigError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RemoveBackendConfigError, R>) -> Self
fn from(err: SdkError<RemoveBackendConfigError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateBackendAPIError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateBackendAPIError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateBackendAPIError, R>) -> Self
fn from(err: SdkError<UpdateBackendAPIError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateBackendAuthError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateBackendAuthError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateBackendAuthError, R>) -> Self
fn from(err: SdkError<UpdateBackendAuthError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateBackendConfigError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateBackendConfigError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateBackendConfigError, R>) -> Self
fn from(err: SdkError<UpdateBackendConfigError, R>) -> Self
Performs the conversion.
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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