Struct aws_sdk_databrew::error::UpdateRecipeError
source · [−]#[non_exhaustive]pub struct UpdateRecipeError {
pub kind: UpdateRecipeErrorKind,
/* private fields */
}
Expand description
Error type for the UpdateRecipe
operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.kind: UpdateRecipeErrorKind
Kind of error that occurred.
Implementations
Creates a new UpdateRecipeError
.
Creates the UpdateRecipeError::Unhandled
variant from any error type.
Creates the UpdateRecipeError::Unhandled
variant from a aws_smithy_types::Error
.
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Returns the request ID if it’s available.
Returns true
if the error kind is UpdateRecipeErrorKind::ResourceNotFoundException
.
Returns true
if the error kind is UpdateRecipeErrorKind::ValidationException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for UpdateRecipeError
impl Send for UpdateRecipeError
impl Sync for UpdateRecipeError
impl Unpin for UpdateRecipeError
impl !UnwindSafe for UpdateRecipeError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more