Enum aws_sdk_elastictranscoder::Error
source · #[non_exhaustive]pub enum Error {
AccessDeniedException(AccessDeniedException),
IncompatibleVersionException(IncompatibleVersionException),
InternalServiceException(InternalServiceException),
LimitExceededException(LimitExceededException),
ResourceInUseException(ResourceInUseException),
ResourceNotFoundException(ResourceNotFoundException),
ValidationException(ValidationException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
General authentication failure. The request was not signed correctly.
IncompatibleVersionException(IncompatibleVersionException)
InternalServiceException(InternalServiceException)
Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.
LimitExceededException(LimitExceededException)
Too many operations for a given AWS account. For example, the number of pipelines exceeds the maximum allowed.
ResourceInUseException(ResourceInUseException)
The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.
ResourceNotFoundException(ResourceNotFoundException)
The requested resource does not exist or is not available. For example, the pipeline to which you're trying to add a job doesn't exist or is still being created.
ValidationException(ValidationException)
One or more required parameter values were not provided in the request.
Unhandled(Unhandled)
Unhandled
directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code()
:
err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ }
See ProvideErrorMetadata
for what information is available for the error.An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<BuildError> for Error
impl From<BuildError> for Error
source§fn from(value: BuildError) -> Self
fn from(value: BuildError) -> Self
source§impl From<CancelJobError> for Error
impl From<CancelJobError> for Error
source§fn from(err: CancelJobError) -> Self
fn from(err: CancelJobError) -> Self
source§impl From<CreateJobError> for Error
impl From<CreateJobError> for Error
source§fn from(err: CreateJobError) -> Self
fn from(err: CreateJobError) -> Self
source§impl From<CreatePipelineError> for Error
impl From<CreatePipelineError> for Error
source§fn from(err: CreatePipelineError) -> Self
fn from(err: CreatePipelineError) -> Self
source§impl From<CreatePresetError> for Error
impl From<CreatePresetError> for Error
source§fn from(err: CreatePresetError) -> Self
fn from(err: CreatePresetError) -> Self
source§impl From<DeletePipelineError> for Error
impl From<DeletePipelineError> for Error
source§fn from(err: DeletePipelineError) -> Self
fn from(err: DeletePipelineError) -> Self
source§impl From<DeletePresetError> for Error
impl From<DeletePresetError> for Error
source§fn from(err: DeletePresetError) -> Self
fn from(err: DeletePresetError) -> Self
source§impl From<ListJobsByPipelineError> for Error
impl From<ListJobsByPipelineError> for Error
source§fn from(err: ListJobsByPipelineError) -> Self
fn from(err: ListJobsByPipelineError) -> Self
source§impl From<ListJobsByStatusError> for Error
impl From<ListJobsByStatusError> for Error
source§fn from(err: ListJobsByStatusError) -> Self
fn from(err: ListJobsByStatusError) -> Self
source§impl From<ListPipelinesError> for Error
impl From<ListPipelinesError> for Error
source§fn from(err: ListPipelinesError) -> Self
fn from(err: ListPipelinesError) -> Self
source§impl From<ListPresetsError> for Error
impl From<ListPresetsError> for Error
source§fn from(err: ListPresetsError) -> Self
fn from(err: ListPresetsError) -> Self
source§impl From<ReadJobError> for Error
impl From<ReadJobError> for Error
source§fn from(err: ReadJobError) -> Self
fn from(err: ReadJobError) -> Self
source§impl From<ReadPipelineError> for Error
impl From<ReadPipelineError> for Error
source§fn from(err: ReadPipelineError) -> Self
fn from(err: ReadPipelineError) -> Self
source§impl From<ReadPresetError> for Error
impl From<ReadPresetError> for Error
source§fn from(err: ReadPresetError) -> Self
fn from(err: ReadPresetError) -> Self
source§impl<R> From<SdkError<CancelJobError, R>> for Error
impl<R> From<SdkError<CancelJobError, R>> for Error
source§fn from(err: SdkError<CancelJobError, R>) -> Self
fn from(err: SdkError<CancelJobError, R>) -> Self
source§impl<R> From<SdkError<CreateJobError, R>> for Error
impl<R> From<SdkError<CreateJobError, R>> for Error
source§fn from(err: SdkError<CreateJobError, R>) -> Self
fn from(err: SdkError<CreateJobError, R>) -> Self
source§impl<R> From<SdkError<CreatePipelineError, R>> for Error
impl<R> From<SdkError<CreatePipelineError, R>> for Error
source§fn from(err: SdkError<CreatePipelineError, R>) -> Self
fn from(err: SdkError<CreatePipelineError, R>) -> Self
source§impl<R> From<SdkError<CreatePresetError, R>> for Error
impl<R> From<SdkError<CreatePresetError, R>> for Error
source§fn from(err: SdkError<CreatePresetError, R>) -> Self
fn from(err: SdkError<CreatePresetError, R>) -> Self
source§impl<R> From<SdkError<DeletePipelineError, R>> for Error
impl<R> From<SdkError<DeletePipelineError, R>> for Error
source§fn from(err: SdkError<DeletePipelineError, R>) -> Self
fn from(err: SdkError<DeletePipelineError, R>) -> Self
source§impl<R> From<SdkError<DeletePresetError, R>> for Error
impl<R> From<SdkError<DeletePresetError, R>> for Error
source§fn from(err: SdkError<DeletePresetError, R>) -> Self
fn from(err: SdkError<DeletePresetError, R>) -> Self
source§impl<R> From<SdkError<ListJobsByPipelineError, R>> for Error
impl<R> From<SdkError<ListJobsByPipelineError, R>> for Error
source§fn from(err: SdkError<ListJobsByPipelineError, R>) -> Self
fn from(err: SdkError<ListJobsByPipelineError, R>) -> Self
source§impl<R> From<SdkError<ListJobsByStatusError, R>> for Error
impl<R> From<SdkError<ListJobsByStatusError, R>> for Error
source§fn from(err: SdkError<ListJobsByStatusError, R>) -> Self
fn from(err: SdkError<ListJobsByStatusError, R>) -> Self
source§impl<R> From<SdkError<ListPipelinesError, R>> for Error
impl<R> From<SdkError<ListPipelinesError, R>> for Error
source§fn from(err: SdkError<ListPipelinesError, R>) -> Self
fn from(err: SdkError<ListPipelinesError, R>) -> Self
source§impl<R> From<SdkError<ListPresetsError, R>> for Error
impl<R> From<SdkError<ListPresetsError, R>> for Error
source§fn from(err: SdkError<ListPresetsError, R>) -> Self
fn from(err: SdkError<ListPresetsError, R>) -> Self
source§impl<R> From<SdkError<ReadJobError, R>> for Error
impl<R> From<SdkError<ReadJobError, R>> for Error
source§fn from(err: SdkError<ReadJobError, R>) -> Self
fn from(err: SdkError<ReadJobError, R>) -> Self
source§impl<R> From<SdkError<ReadPipelineError, R>> for Error
impl<R> From<SdkError<ReadPipelineError, R>> for Error
source§fn from(err: SdkError<ReadPipelineError, R>) -> Self
fn from(err: SdkError<ReadPipelineError, R>) -> Self
source§impl<R> From<SdkError<ReadPresetError, R>> for Error
impl<R> From<SdkError<ReadPresetError, R>> for Error
source§fn from(err: SdkError<ReadPresetError, R>) -> Self
fn from(err: SdkError<ReadPresetError, R>) -> Self
source§impl<R> From<SdkError<TestRoleError, R>> for Error
impl<R> From<SdkError<TestRoleError, R>> for Error
source§fn from(err: SdkError<TestRoleError, R>) -> Self
fn from(err: SdkError<TestRoleError, R>) -> Self
source§impl<R> From<SdkError<UpdatePipelineError, R>> for Error
impl<R> From<SdkError<UpdatePipelineError, R>> for Error
source§fn from(err: SdkError<UpdatePipelineError, R>) -> Self
fn from(err: SdkError<UpdatePipelineError, R>) -> Self
source§impl<R> From<SdkError<UpdatePipelineNotificationsError, R>> for Error
impl<R> From<SdkError<UpdatePipelineNotificationsError, R>> for Error
source§fn from(err: SdkError<UpdatePipelineNotificationsError, R>) -> Self
fn from(err: SdkError<UpdatePipelineNotificationsError, R>) -> Self
source§impl<R> From<SdkError<UpdatePipelineStatusError, R>> for Error
impl<R> From<SdkError<UpdatePipelineStatusError, R>> for Error
source§fn from(err: SdkError<UpdatePipelineStatusError, R>) -> Self
fn from(err: SdkError<UpdatePipelineStatusError, R>) -> Self
source§impl From<TestRoleError> for Error
impl From<TestRoleError> for Error
source§fn from(err: TestRoleError) -> Self
fn from(err: TestRoleError) -> Self
source§impl From<UpdatePipelineError> for Error
impl From<UpdatePipelineError> for Error
source§fn from(err: UpdatePipelineError) -> Self
fn from(err: UpdatePipelineError) -> Self
source§impl From<UpdatePipelineNotificationsError> for Error
impl From<UpdatePipelineNotificationsError> for Error
source§fn from(err: UpdatePipelineNotificationsError) -> Self
fn from(err: UpdatePipelineNotificationsError) -> Self
source§impl From<UpdatePipelineStatusError> for Error
impl From<UpdatePipelineStatusError> for Error
source§fn from(err: UpdatePipelineStatusError) -> Self
fn from(err: UpdatePipelineStatusError) -> Self
source§impl<O, E> From<WaiterError<O, E>> for Error
impl<O, E> From<WaiterError<O, E>> for Error
source§fn from(err: WaiterError<O, E>) -> Self
fn from(err: WaiterError<O, E>) -> Self
source§impl ProvideErrorMetadata for Error
impl ProvideErrorMetadata for Error
source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more