Enum aws_sdk_emrserverless::Error
source · #[non_exhaustive]
pub enum Error {
ConflictException(ConflictException),
InternalServerException(InternalServerException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceQuotaExceededException(ServiceQuotaExceededException),
ValidationException(ValidationException),
Unhandled(Unhandled),
}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.
ConflictException(ConflictException)
The request could not be processed because of conflict in the current state of the resource.
InternalServerException(InternalServerException)
Request processing failed because of an error or failure with the service.
ResourceNotFoundException(ResourceNotFoundException)
The specified resource was not found.
ServiceQuotaExceededException(ServiceQuotaExceededException)
The maximum number of resources per account has been reached.
ValidationException(ValidationException)
The input fails to satisfy the constraints specified by an AWS service.
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.
Trait Implementations§
source§impl Error for Error
impl Error for Error
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<CancelJobRunError> for Error
impl From<CancelJobRunError> for Error
source§fn from(err: CancelJobRunError) -> Self
fn from(err: CancelJobRunError) -> Self
Converts to this type from the input type.
source§impl From<CreateApplicationError> for Error
impl From<CreateApplicationError> for Error
source§fn from(err: CreateApplicationError) -> Self
fn from(err: CreateApplicationError) -> Self
Converts to this type from the input type.
source§impl From<DeleteApplicationError> for Error
impl From<DeleteApplicationError> for Error
source§fn from(err: DeleteApplicationError) -> Self
fn from(err: DeleteApplicationError) -> Self
Converts to this type from the input type.
source§impl From<GetApplicationError> for Error
impl From<GetApplicationError> for Error
source§fn from(err: GetApplicationError) -> Self
fn from(err: GetApplicationError) -> Self
Converts to this type from the input type.
source§impl From<GetDashboardForJobRunError> for Error
impl From<GetDashboardForJobRunError> for Error
source§fn from(err: GetDashboardForJobRunError) -> Self
fn from(err: GetDashboardForJobRunError) -> Self
Converts to this type from the input type.
source§impl From<GetJobRunError> for Error
impl From<GetJobRunError> for Error
source§fn from(err: GetJobRunError) -> Self
fn from(err: GetJobRunError) -> Self
Converts to this type from the input type.
source§impl From<ListApplicationsError> for Error
impl From<ListApplicationsError> for Error
source§fn from(err: ListApplicationsError) -> Self
fn from(err: ListApplicationsError) -> Self
Converts to this type from the input type.
source§impl From<ListJobRunsError> for Error
impl From<ListJobRunsError> for Error
source§fn from(err: ListJobRunsError) -> Self
fn from(err: ListJobRunsError) -> Self
Converts to this type from the input type.
source§impl From<ListTagsForResourceError> for Error
impl From<ListTagsForResourceError> for Error
source§fn from(err: ListTagsForResourceError) -> Self
fn from(err: ListTagsForResourceError) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<CancelJobRunError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CancelJobRunError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<CancelJobRunError, R>) -> Self
fn from(err: SdkError<CancelJobRunError, R>) -> Self
Converts to this type from the input type.
source§impl<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,
source§fn from(err: SdkError<CreateApplicationError, R>) -> Self
fn from(err: SdkError<CreateApplicationError, R>) -> Self
Converts to this type from the input type.
source§impl<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,
source§fn from(err: SdkError<DeleteApplicationError, R>) -> Self
fn from(err: SdkError<DeleteApplicationError, R>) -> Self
Converts to this type from the input type.
source§impl<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,
source§fn from(err: SdkError<GetApplicationError, R>) -> Self
fn from(err: SdkError<GetApplicationError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetDashboardForJobRunError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetDashboardForJobRunError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<GetDashboardForJobRunError, R>) -> Self
fn from(err: SdkError<GetDashboardForJobRunError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetJobRunError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetJobRunError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<GetJobRunError, R>) -> Self
fn from(err: SdkError<GetJobRunError, R>) -> Self
Converts to this type from the input type.
source§impl<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,
source§fn from(err: SdkError<ListApplicationsError, R>) -> Self
fn from(err: SdkError<ListApplicationsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListJobRunsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListJobRunsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ListJobRunsError, R>) -> Self
fn from(err: SdkError<ListJobRunsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListTagsForResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsForResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<StartApplicationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartApplicationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<StartApplicationError, R>) -> Self
fn from(err: SdkError<StartApplicationError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<StartJobRunError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartJobRunError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<StartJobRunError, R>) -> Self
fn from(err: SdkError<StartJobRunError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<StopApplicationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StopApplicationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<StopApplicationError, R>) -> Self
fn from(err: SdkError<StopApplicationError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<TagResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TagResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UntagResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UntagResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UpdateApplicationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateApplicationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<UpdateApplicationError, R>) -> Self
fn from(err: SdkError<UpdateApplicationError, R>) -> Self
Converts to this type from the input type.
source§impl From<StartApplicationError> for Error
impl From<StartApplicationError> for Error
source§fn from(err: StartApplicationError) -> Self
fn from(err: StartApplicationError) -> Self
Converts to this type from the input type.
source§impl From<StartJobRunError> for Error
impl From<StartJobRunError> for Error
source§fn from(err: StartJobRunError) -> Self
fn from(err: StartJobRunError) -> Self
Converts to this type from the input type.
source§impl From<StopApplicationError> for Error
impl From<StopApplicationError> for Error
source§fn from(err: StopApplicationError) -> Self
fn from(err: StopApplicationError) -> Self
Converts to this type from the input type.
source§impl From<TagResourceError> for Error
impl From<TagResourceError> for Error
source§fn from(err: TagResourceError) -> Self
fn from(err: TagResourceError) -> Self
Converts to this type from the input type.
source§impl From<UntagResourceError> for Error
impl From<UntagResourceError> for Error
source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
Converts to this type from the input type.
source§impl From<UpdateApplicationError> for Error
impl From<UpdateApplicationError> for Error
source§fn from(err: UpdateApplicationError) -> Self
fn from(err: UpdateApplicationError) -> Self
Converts to this type from the input type.