Enum aws_sdk_codepipeline::operation::create_custom_action_type::CreateCustomActionTypeError
source · #[non_exhaustive]pub enum CreateCustomActionTypeError {
ConcurrentModificationException(ConcurrentModificationException),
InvalidTagsException(InvalidTagsException),
LimitExceededException(LimitExceededException),
TooManyTagsException(TooManyTagsException),
ValidationException(ValidationException),
Unhandled(Unhandled),
}Expand description
Error type for the CreateCustomActionTypeError operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ConcurrentModificationException(ConcurrentModificationException)
Unable to modify the tag due to a simultaneous update request.
InvalidTagsException(InvalidTagsException)
The specified resource tags are invalid.
LimitExceededException(LimitExceededException)
The number of pipelines associated with the AWS account has exceeded the limit allowed for the account.
TooManyTagsException(TooManyTagsException)
The tags limit for a resource has been exceeded.
ValidationException(ValidationException)
The validation was specified in an invalid format.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Implementations§
source§impl CreateCustomActionTypeError
impl CreateCustomActionTypeError
sourcepub fn unhandled(err: impl Into<Box<dyn Error + Send + Sync + 'static>>) -> Self
pub fn unhandled(err: impl Into<Box<dyn Error + Send + Sync + 'static>>) -> Self
Creates the CreateCustomActionTypeError::Unhandled variant from any error type.
sourcepub fn generic(err: ErrorMetadata) -> Self
pub fn generic(err: ErrorMetadata) -> Self
Creates the CreateCustomActionTypeError::Unhandled variant from a ::aws_smithy_types::error::ErrorMetadata.
sourcepub fn meta(&self) -> &ErrorMetadata
pub fn meta(&self) -> &ErrorMetadata
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
sourcepub fn is_concurrent_modification_exception(&self) -> bool
pub fn is_concurrent_modification_exception(&self) -> bool
Returns true if the error kind is CreateCustomActionTypeError::ConcurrentModificationException.
Returns true if the error kind is CreateCustomActionTypeError::InvalidTagsException.
sourcepub fn is_limit_exceeded_exception(&self) -> bool
pub fn is_limit_exceeded_exception(&self) -> bool
Returns true if the error kind is CreateCustomActionTypeError::LimitExceededException.
Returns true if the error kind is CreateCustomActionTypeError::TooManyTagsException.
sourcepub fn is_validation_exception(&self) -> bool
pub fn is_validation_exception(&self) -> bool
Returns true if the error kind is CreateCustomActionTypeError::ValidationException.
Trait Implementations§
source§impl CreateUnhandledError for CreateCustomActionTypeError
impl CreateUnhandledError for CreateCustomActionTypeError
source§fn create_unhandled_error(
source: Box<dyn Error + Send + Sync + 'static>,
meta: Option<ErrorMetadata>
) -> Self
fn create_unhandled_error( source: Box<dyn Error + Send + Sync + 'static>, meta: Option<ErrorMetadata> ) -> Self
source and error metadata.source§impl Debug for CreateCustomActionTypeError
impl Debug for CreateCustomActionTypeError
source§impl Error for CreateCustomActionTypeError
impl Error for CreateCustomActionTypeError
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<CreateCustomActionTypeError> for Error
impl From<CreateCustomActionTypeError> for Error
source§fn from(err: CreateCustomActionTypeError) -> Self
fn from(err: CreateCustomActionTypeError) -> Self
source§impl ProvideErrorMetadata for CreateCustomActionTypeError
impl ProvideErrorMetadata for CreateCustomActionTypeError
source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
source§impl RequestId for CreateCustomActionTypeError
impl RequestId for CreateCustomActionTypeError
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.