Enum aws_sdk_databrew::Error
source · [−]#[non_exhaustive]
pub enum Error {
AccessDeniedException(AccessDeniedException),
ConflictException(ConflictException),
InternalServerException(InternalServerException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceQuotaExceededException(ServiceQuotaExceededException),
ValidationException(ValidationException),
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
AccessDeniedException(AccessDeniedException)
Access to the specified resource was denied.
ConflictException(ConflictException)
Updating or deleting a resource can cause an inconsistent state.
InternalServerException(InternalServerException)
An internal service failure occurred.
ResourceNotFoundException(ResourceNotFoundException)
One or more resources can't be found.
ServiceQuotaExceededException(ServiceQuotaExceededException)
A service quota is exceeded.
ValidationException(ValidationException)
The input parameters for this request failed validation.
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<BatchDeleteRecipeVersionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<BatchDeleteRecipeVersionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<BatchDeleteRecipeVersionError, R>) -> Self
fn from(err: SdkError<BatchDeleteRecipeVersionError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateDatasetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateDatasetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateDatasetError, R>) -> Self
fn from(err: SdkError<CreateDatasetError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateProfileJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateProfileJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateProfileJobError, R>) -> Self
fn from(err: SdkError<CreateProfileJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateProjectError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateProjectError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateProjectError, R>) -> Self
fn from(err: SdkError<CreateProjectError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateRecipeError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateRecipeError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateRecipeError, R>) -> Self
fn from(err: SdkError<CreateRecipeError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateRecipeJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateRecipeJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateRecipeJobError, R>) -> Self
fn from(err: SdkError<CreateRecipeJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateRulesetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateRulesetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateRulesetError, R>) -> Self
fn from(err: SdkError<CreateRulesetError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateScheduleError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateScheduleError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateScheduleError, R>) -> Self
fn from(err: SdkError<CreateScheduleError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteDatasetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteDatasetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteDatasetError, R>) -> Self
fn from(err: SdkError<DeleteDatasetError, 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<DeleteProjectError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteProjectError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteProjectError, R>) -> Self
fn from(err: SdkError<DeleteProjectError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteRecipeVersionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteRecipeVersionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteRecipeVersionError, R>) -> Self
fn from(err: SdkError<DeleteRecipeVersionError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteRulesetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteRulesetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteRulesetError, R>) -> Self
fn from(err: SdkError<DeleteRulesetError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteScheduleError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteScheduleError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteScheduleError, R>) -> Self
fn from(err: SdkError<DeleteScheduleError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeDatasetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeDatasetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeDatasetError, R>) -> Self
fn from(err: SdkError<DescribeDatasetError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeJobError, R>) -> Self
fn from(err: SdkError<DescribeJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeJobRunError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeJobRunError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeJobRunError, R>) -> Self
fn from(err: SdkError<DescribeJobRunError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeProjectError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeProjectError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeProjectError, R>) -> Self
fn from(err: SdkError<DescribeProjectError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeRecipeError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeRecipeError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeRecipeError, R>) -> Self
fn from(err: SdkError<DescribeRecipeError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeRulesetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeRulesetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeRulesetError, R>) -> Self
fn from(err: SdkError<DescribeRulesetError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeScheduleError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeScheduleError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeScheduleError, R>) -> Self
fn from(err: SdkError<DescribeScheduleError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListDatasetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListDatasetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListDatasetsError, R>) -> Self
fn from(err: SdkError<ListDatasetsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListJobRunsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListJobRunsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListJobRunsError, R>) -> Self
fn from(err: SdkError<ListJobRunsError, 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<ListProjectsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListProjectsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListProjectsError, R>) -> Self
fn from(err: SdkError<ListProjectsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListRecipeVersionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListRecipeVersionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListRecipeVersionsError, R>) -> Self
fn from(err: SdkError<ListRecipeVersionsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListRecipesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListRecipesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListRecipesError, R>) -> Self
fn from(err: SdkError<ListRecipesError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListRulesetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListRulesetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListRulesetsError, R>) -> Self
fn from(err: SdkError<ListRulesetsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListSchedulesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListSchedulesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListSchedulesError, R>) -> Self
fn from(err: SdkError<ListSchedulesError, 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<PublishRecipeError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PublishRecipeError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PublishRecipeError, R>) -> Self
fn from(err: SdkError<PublishRecipeError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<SendProjectSessionActionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SendProjectSessionActionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SendProjectSessionActionError, R>) -> Self
fn from(err: SdkError<SendProjectSessionActionError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<StartJobRunError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartJobRunError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartJobRunError, R>) -> Self
fn from(err: SdkError<StartJobRunError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<StartProjectSessionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartProjectSessionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartProjectSessionError, R>) -> Self
fn from(err: SdkError<StartProjectSessionError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<StopJobRunError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StopJobRunError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StopJobRunError, R>) -> Self
fn from(err: SdkError<StopJobRunError, 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<UpdateDatasetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateDatasetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateDatasetError, R>) -> Self
fn from(err: SdkError<UpdateDatasetError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateProfileJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateProfileJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateProfileJobError, R>) -> Self
fn from(err: SdkError<UpdateProfileJobError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateProjectError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateProjectError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateProjectError, R>) -> Self
fn from(err: SdkError<UpdateProjectError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateRecipeError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateRecipeError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateRecipeError, R>) -> Self
fn from(err: SdkError<UpdateRecipeError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateRecipeJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateRecipeJobError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateRecipeJobError, R>) -> Self
fn from(err: SdkError<UpdateRecipeJobError, 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