Enum aws_sdk_ecrpublic::Error [−][src]
#[non_exhaustive]
pub enum Error {
Show 24 variants
EmptyUploadException(EmptyUploadException),
ImageAlreadyExistsException(ImageAlreadyExistsException),
ImageDigestDoesNotMatchException(ImageDigestDoesNotMatchException),
ImageNotFoundException(ImageNotFoundException),
ImageTagAlreadyExistsException(ImageTagAlreadyExistsException),
InvalidLayerException(InvalidLayerException),
InvalidLayerPartException(InvalidLayerPartException),
InvalidParameterException(InvalidParameterException),
InvalidTagParameterException(InvalidTagParameterException),
LayerAlreadyExistsException(LayerAlreadyExistsException),
LayerPartTooSmallException(LayerPartTooSmallException),
LayersNotFoundException(LayersNotFoundException),
LimitExceededException(LimitExceededException),
ReferencedImagesNotFoundException(ReferencedImagesNotFoundException),
RegistryNotFoundException(RegistryNotFoundException),
RepositoryAlreadyExistsException(RepositoryAlreadyExistsException),
RepositoryNotEmptyException(RepositoryNotEmptyException),
RepositoryNotFoundException(RepositoryNotFoundException),
RepositoryPolicyNotFoundException(RepositoryPolicyNotFoundException),
ServerException(ServerException),
TooManyTagsException(TooManyTagsException),
UnsupportedCommandException(UnsupportedCommandException),
UploadNotFoundException(UploadNotFoundException),
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
EmptyUploadException(EmptyUploadException)
Tuple Fields
The specified layer upload does not contain any layer parts.
ImageAlreadyExistsException(ImageAlreadyExistsException)
Tuple Fields
The specified image has already been pushed, and there were no changes to the manifest or image tag after the last push.
ImageDigestDoesNotMatchException(ImageDigestDoesNotMatchException)
Tuple Fields
The specified image digest does not match the digest that Amazon ECR calculated for the image.
ImageNotFoundException(ImageNotFoundException)
Tuple Fields
The image requested does not exist in the specified repository.
ImageTagAlreadyExistsException(ImageTagAlreadyExistsException)
Tuple Fields
The specified image is tagged with a tag that already exists. The repository is configured for tag immutability.
InvalidLayerException(InvalidLayerException)
Tuple Fields
The layer digest calculation performed by Amazon ECR upon receipt of the image layer does not match the digest specified.
InvalidLayerPartException(InvalidLayerPartException)
Tuple Fields
The layer part size is not valid, or the first byte specified is not consecutive to the last byte of a previous layer part upload.
InvalidParameterException(InvalidParameterException)
Tuple Fields
The specified parameter is invalid. Review the available parameters for the API request.
InvalidTagParameterException(InvalidTagParameterException)
Tuple Fields
An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
LayerAlreadyExistsException(LayerAlreadyExistsException)
Tuple Fields
The image layer already exists in the associated repository.
LayerPartTooSmallException(LayerPartTooSmallException)
Tuple Fields
Layer parts must be at least 5 MiB in size.
LayersNotFoundException(LayersNotFoundException)
Tuple Fields
The specified layers could not be found, or the specified layer is not valid for this repository.
LimitExceededException(LimitExceededException)
Tuple Fields
The operation did not succeed because it would have exceeded a service limit for your account. For more information, see Amazon ECR Service Quotas in the Amazon Elastic Container Registry User Guide.
ReferencedImagesNotFoundException(ReferencedImagesNotFoundException)
Tuple Fields
The manifest list is referencing an image that does not exist.
RegistryNotFoundException(RegistryNotFoundException)
Tuple Fields
The registry does not exist.
RepositoryAlreadyExistsException(RepositoryAlreadyExistsException)
Tuple Fields
The specified repository already exists in the specified registry.
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.
RepositoryPolicyNotFoundException(RepositoryPolicyNotFoundException)
Tuple Fields
The specified repository and registry combination does not have an associated repository policy.
ServerException(ServerException)
Tuple Fields
These errors are usually caused by a server-side issue.
TooManyTagsException(TooManyTagsException)
Tuple Fields
The list of tags on the repository is over the limit. The maximum number of tags that can be applied to a repository is 50.
UnsupportedCommandException(UnsupportedCommandException)
Tuple Fields
The action is not supported in this Region.
UploadNotFoundException(UploadNotFoundException)
Tuple Fields
The upload could not be found, or the specified upload ID is not valid for this repository.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
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