Enum aws_sdk_amplify::Error
source · [−]#[non_exhaustive]
pub enum Error {
BadRequestException(BadRequestException),
DependentServiceFailureException(DependentServiceFailureException),
InternalFailureException(InternalFailureException),
LimitExceededException(LimitExceededException),
NotFoundException(NotFoundException),
ResourceNotFoundException(ResourceNotFoundException),
UnauthorizedException(UnauthorizedException),
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)
A request contains unexpected data.
DependentServiceFailureException(DependentServiceFailureException)
An operation failed because a dependent service threw an exception.
InternalFailureException(InternalFailureException)
The service failed to perform an operation due to an internal issue.
LimitExceededException(LimitExceededException)
A resource could not be created because service quotas were exceeded.
NotFoundException(NotFoundException)
An entity was not found during an operation.
ResourceNotFoundException(ResourceNotFoundException)
An operation failed due to a non-existent resource.
UnauthorizedException(UnauthorizedException)
An operation failed due to a lack of access.
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<CreateAppError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateAppError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateAppError, R>) -> Self
fn from(err: SdkError<CreateAppError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateBackendEnvironmentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateBackendEnvironmentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateBackendEnvironmentError, R>) -> Self
fn from(err: SdkError<CreateBackendEnvironmentError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateBranchError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateBranchError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateBranchError, R>) -> Self
fn from(err: SdkError<CreateBranchError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateDeploymentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateDeploymentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateDeploymentError, R>) -> Self
fn from(err: SdkError<CreateDeploymentError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateDomainAssociationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateDomainAssociationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateDomainAssociationError, R>) -> Self
fn from(err: SdkError<CreateDomainAssociationError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateWebhookError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateWebhookError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateWebhookError, R>) -> Self
fn from(err: SdkError<CreateWebhookError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteAppError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteAppError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteAppError, R>) -> Self
fn from(err: SdkError<DeleteAppError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteBackendEnvironmentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteBackendEnvironmentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteBackendEnvironmentError, R>) -> Self
fn from(err: SdkError<DeleteBackendEnvironmentError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteBranchError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteBranchError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteBranchError, R>) -> Self
fn from(err: SdkError<DeleteBranchError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteDomainAssociationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteDomainAssociationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteDomainAssociationError, R>) -> Self
fn from(err: SdkError<DeleteDomainAssociationError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteJobError, R>) -> Self
fn from(err: SdkError<DeleteJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteWebhookError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteWebhookError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteWebhookError, R>) -> Self
fn from(err: SdkError<DeleteWebhookError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GenerateAccessLogsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GenerateAccessLogsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GenerateAccessLogsError, R>) -> Self
fn from(err: SdkError<GenerateAccessLogsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetAppError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetAppError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetAppError, R>) -> Self
fn from(err: SdkError<GetAppError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetArtifactUrlError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetArtifactUrlError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetArtifactUrlError, R>) -> Self
fn from(err: SdkError<GetArtifactUrlError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetBackendEnvironmentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetBackendEnvironmentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetBackendEnvironmentError, R>) -> Self
fn from(err: SdkError<GetBackendEnvironmentError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetBranchError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetBranchError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetBranchError, R>) -> Self
fn from(err: SdkError<GetBranchError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetDomainAssociationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetDomainAssociationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetDomainAssociationError, R>) -> Self
fn from(err: SdkError<GetDomainAssociationError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetJobError, R>) -> Self
fn from(err: SdkError<GetJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetWebhookError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetWebhookError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetWebhookError, R>) -> Self
fn from(err: SdkError<GetWebhookError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListAppsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListAppsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListAppsError, R>) -> Self
fn from(err: SdkError<ListAppsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListArtifactsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListArtifactsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListArtifactsError, R>) -> Self
fn from(err: SdkError<ListArtifactsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListBackendEnvironmentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListBackendEnvironmentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListBackendEnvironmentsError, R>) -> Self
fn from(err: SdkError<ListBackendEnvironmentsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListBranchesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListBranchesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListBranchesError, R>) -> Self
fn from(err: SdkError<ListBranchesError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListDomainAssociationsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListDomainAssociationsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListDomainAssociationsError, R>) -> Self
fn from(err: SdkError<ListDomainAssociationsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListJobsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListJobsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListJobsError, R>) -> Self
fn from(err: SdkError<ListJobsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListWebhooksError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListWebhooksError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListWebhooksError, R>) -> Self
fn from(err: SdkError<ListWebhooksError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<StartDeploymentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartDeploymentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartDeploymentError, R>) -> Self
fn from(err: SdkError<StartDeploymentError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<StartJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartJobError, R>) -> Self
fn from(err: SdkError<StartJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<StopJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StopJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StopJobError, R>) -> Self
fn from(err: SdkError<StopJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UntagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UntagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateAppError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateAppError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateAppError, R>) -> Self
fn from(err: SdkError<UpdateAppError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateBranchError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateBranchError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateBranchError, R>) -> Self
fn from(err: SdkError<UpdateBranchError, 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