Enum aws_sdk_ecr::error::DeleteRepositoryErrorKind [−][src]
#[non_exhaustive]
pub enum DeleteRepositoryErrorKind {
InvalidParameterException(InvalidParameterException),
KmsException(KmsException),
RepositoryNotEmptyException(RepositoryNotEmptyException),
RepositoryNotFoundException(RepositoryNotFoundException),
ServerException(ServerException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the DeleteRepository operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
InvalidParameterException(InvalidParameterException)
Tuple Fields
The specified parameter is invalid. Review the available parameters for the API request.
KmsException(KmsException)
Tuple Fields
0: KmsExceptionThe operation failed due to a KMS exception.
RepositoryNotEmptyException(RepositoryNotEmptyException)
Tuple Fields
The specified repository contains images. To delete a repository that contains images, you must force the deletion with the force parameter.
RepositoryNotFoundException(RepositoryNotFoundException)
Tuple Fields
The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
ServerException(ServerException)
Tuple Fields
These errors are usually caused by a server-side issue.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DeleteRepositoryErrorKind
impl Send for DeleteRepositoryErrorKind
impl Sync for DeleteRepositoryErrorKind
impl Unpin for DeleteRepositoryErrorKind
impl !UnwindSafe for DeleteRepositoryErrorKind
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
