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 does not contain any layer parts.
Members
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
ImageDigestDoesNotMatchException
[ 'message' => '<string>', ]
Description
The specified image digest does not match the digest that Amazon ECR calculated for the image.
Members
ImageNotFoundException
[ 'message' => '<string>', ]
Description
The image requested does not exist in the specified repository.
Members
ImageTagAlreadyExistsException
[ 'message' => '<string>', ]
Description
The specified image is tagged with a tag that already exists. The repository is configured for tag immutability.
Members
InvalidLayerException
[ 'message' => '<string>', ]
Description
The layer digest calculation performed by Amazon ECR upon receipt of the image layer does not match the digest specified.
Members
InvalidLayerPartException
[ 'lastValidByteReceived' => <integer>, 'message' => '<string>', 'registryId' => '<string>', 'repositoryName' => '<string>', 'uploadId' => '<string>', ]
Description
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.
Members
- lastValidByteReceived
-
- Type: long (int|float)
The position of the last byte of the layer part.
- message
-
- Type: string
- registryId
-
- Type: string
The AWS account ID associated with the layer part.
- repositoryName
-
- Type: string
The name of the repository.
- uploadId
-
- Type: string
The upload ID associated with the layer part.
InvalidParameterException
[ 'message' => '<string>', ]
Description
The specified parameter is invalid. Review the available parameters for the API request.
Members
LayerAlreadyExistsException
[ 'message' => '<string>', ]
Description
The image layer already exists in the associated repository.
Members
LayerPartTooSmallException
[ 'message' => '<string>', ]
LayersNotFoundException
[ 'message' => '<string>', ]
Description
The specified layers could not be found, or the specified layer is not valid for this repository.
Members
LimitExceededException
[ 'message' => '<string>', ]
Description
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.
Members
ReferencedImagesNotFoundException
[ 'message' => '<string>', ]
Description
The manifest list is referencing an image that does not exist.
Members
RegistryNotFoundException
[ 'message' => '<string>', ]
RepositoryAlreadyExistsException
[ 'message' => '<string>', ]
Description
The specified repository already exists in the specified registry.
Members
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
RepositoryNotFoundException
[ 'message' => '<string>', ]
Description
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.
Members
RepositoryPolicyNotFoundException
[ 'message' => '<string>', ]
Description
The specified repository and registry combination does not have an associated repository policy.
Members
ServerException
[ 'message' => '<string>', ]
UnsupportedCommandException
[ 'message' => '<string>', ]
UploadNotFoundException
[ 'message' => '<string>', ]