#[non_exhaustive]
pub enum Error {
BadRequestException(BadRequestException),
ConflictException(ConflictException),
ForbiddenException(ForbiddenException),
InternalServerErrorException(InternalServerErrorException),
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
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BadRequestException(BadRequestException)
One of the parameters in the request is invalid.
ConflictException(ConflictException)
The resource already exists.
ForbiddenException(ForbiddenException)
The client is not authenticated.
InternalServerErrorException(InternalServerErrorException)
The AWS Serverless Application Repository service encountered an internal error.
NotFoundException(NotFoundException)
The resource (for example, an access policy statement) specified in the request doesn't exist.
TooManyRequestsException(TooManyRequestsException)
The client is sending more than the allowed number of requests per unit of time.
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
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl<R> From<SdkError<CreateApplicationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateApplicationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateApplicationError, R>) -> Self
fn from(err: SdkError<CreateApplicationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateApplicationVersionError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateApplicationVersionError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateApplicationVersionError, R>) -> Self
fn from(err: SdkError<CreateApplicationVersionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateCloudFormationChangeSetError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateCloudFormationChangeSetError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateCloudFormationChangeSetError, R>) -> Self
fn from(err: SdkError<CreateCloudFormationChangeSetError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateCloudFormationTemplateError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateCloudFormationTemplateError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateCloudFormationTemplateError, R>) -> Self
fn from(err: SdkError<CreateCloudFormationTemplateError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteApplicationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteApplicationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteApplicationError, R>) -> Self
fn from(err: SdkError<DeleteApplicationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetApplicationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetApplicationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetApplicationError, R>) -> Self
fn from(err: SdkError<GetApplicationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetApplicationPolicyError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetApplicationPolicyError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetApplicationPolicyError, R>) -> Self
fn from(err: SdkError<GetApplicationPolicyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetCloudFormationTemplateError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetCloudFormationTemplateError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetCloudFormationTemplateError, R>) -> Self
fn from(err: SdkError<GetCloudFormationTemplateError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListApplicationDependenciesError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListApplicationDependenciesError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListApplicationDependenciesError, R>) -> Self
fn from(err: SdkError<ListApplicationDependenciesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListApplicationVersionsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListApplicationVersionsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListApplicationVersionsError, R>) -> Self
fn from(err: SdkError<ListApplicationVersionsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListApplicationsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListApplicationsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListApplicationsError, R>) -> Self
fn from(err: SdkError<ListApplicationsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutApplicationPolicyError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutApplicationPolicyError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutApplicationPolicyError, R>) -> Self
fn from(err: SdkError<PutApplicationPolicyError, R>) -> Self
Converts to this type from the input type.
sourcefn from(err: SdkError<UnshareApplicationError, R>) -> Self
fn from(err: SdkError<UnshareApplicationError, 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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