Class ECRPublicException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\ECRPublic\Exception\ECRPublicException
- Namespace: Aws\ECRPublic\Exception
- Located at ECRPublic/Exception/ECRPublicException.php
Represents an error interacting with the Amazon Elastic Container Registry Public service.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
EmptyUploadException
[ 'message' => '<string>', ]
Description
The specified layer upload doesn't contain any layer parts.
Members
- message
-
- Type: string
ImageAlreadyExistsException
[ 'message' => '<string>', ]
Description
The specified image has already been pushed, and there were no changes to the manifest or image tag after the last push.
Members
- message
-
- Type: string
ImageDigestDoesNotMatchException
[ 'message' => '<string>', ]
Description
The specified image digest doesn't match the digest that Amazon ECR calculated for the image.
Members
- message
-
- Type: string
ImageNotFoundException
[ 'message' => '<string>', ]
Description
The image requested doesn't exist in the specified repository.
Members
- message
-
- Type: string
ImageTagAlreadyExistsException
[ 'message' => '<string>', ]
Description
The specified image is tagged with a tag that already exists. The repository is configured for tag immutability.
Members
- message
-
- Type: string
InvalidLayerException
[ 'message' => '<string>', ]
Description
The layer digest calculation performed by Amazon ECR when the image layer doesn't match the digest specified.
Members
- message
-
- Type: string
InvalidLayerPartException
[ 'lastValidByteReceived' => <integer>, 'message' => '<string>', 'registryId' => '<string>', 'repositoryName' => '<string>', 'uploadId' => '<string>', ]
Description
The layer part size isn't valid, or the first byte specified isn't consecutive to the last byte of a previous layer part upload.
Members
- lastValidByteReceived
-
- Type: long (int|float)
The position of the last byte of the layer part.
- message
-
- Type: string
- registryId
-
- Type: string
The Amazon Web Services account ID that's associated with the layer part.
- repositoryName
-
- Type: string
The name of the repository.
- uploadId
-
- Type: string
The upload ID that's associated with the layer part.
InvalidParameterException
[ 'message' => '<string>', ]
Description
The specified parameter is invalid. Review the available parameters for the API request.
Members
- message
-
- Type: string
InvalidTagParameterException
[ 'message' => '<string>', ]
Description
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.
Members
- message
-
- Type: string
LayerAlreadyExistsException
[ 'message' => '<string>', ]
Description
The image layer already exists in the associated repository.
Members
- message
-
- Type: string
LayerPartTooSmallException
[ 'message' => '<string>', ]
Description
Layer parts must be at least 5 MiB in size.
Members
- message
-
- Type: string
LayersNotFoundException
[ 'message' => '<string>', ]
Description
The specified layers can't be found, or the specified layer isn't valid for this repository.
Members
- message
-
- Type: string
LimitExceededException
[ 'message' => '<string>', ]
Description
The operation didn't 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.
Members
- message
-
- Type: string
ReferencedImagesNotFoundException
[ 'message' => '<string>', ]
Description
The manifest list is referencing an image that doesn't exist.
Members
- message
-
- Type: string
RegistryNotFoundException
[ 'message' => '<string>', ]
Description
The registry doesn't exist.
Members
- message
-
- Type: string
RepositoryAlreadyExistsException
[ 'message' => '<string>', ]
Description
The specified repository already exists in the specified registry.
Members
- message
-
- Type: string
RepositoryCatalogDataNotFoundException
[ 'message' => '<string>', ]
Description
The repository catalog data doesn't exist.
Members
- message
-
- Type: string
RepositoryNotEmptyException
[ 'message' => '<string>', ]
Description
The specified repository contains images. To delete a repository that contains images, you must force the deletion with the force
parameter.
Members
- message
-
- Type: string
RepositoryNotFoundException
[ 'message' => '<string>', ]
Description
The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.
Members
- message
-
- Type: string
RepositoryPolicyNotFoundException
[ 'message' => '<string>', ]
Description
The specified repository and registry combination doesn't have an associated repository policy.
Members
- message
-
- Type: string
ServerException
[ 'message' => '<string>', ]
Description
These errors are usually caused by a server-side issue.
Members
- message
-
- Type: string
TooManyTagsException
[ 'message' => '<string>', ]
Description
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.
Members
- message
-
- Type: string
UnsupportedCommandException
[ 'message' => '<string>', ]
Description
The action isn't supported in this Region.
Members
- message
-
- Type: string
UploadNotFoundException
[ 'message' => '<string>', ]
Description
The upload can't be found, or the specified upload ID isn't valid for this repository.
Members
- message
-
- Type: string