Class CodeArtifactException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\CodeArtifact\Exception\CodeArtifactException
- Namespace: Aws\CodeArtifact\Exception
- Located at CodeArtifact/Exception/CodeArtifactException.php
Represents an error interacting with the CodeArtifact 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
The following are the known exception codes and corresponding data shapes that
this service may return as part of an error response.
AccessDeniedException
[ 'message' => '<string>', ]
Description
The operation did not succeed because of an unauthorized access attempt.
Members
ConflictException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => 'domain|repository|package|package-version|asset', ]
Description
The operation did not succeed because prerequisites are not met.
Members
InternalServerException
[ 'message' => '<string>', ]
Description
The operation did not succeed because of an error that occurred inside CodeArtifact.
Members
ResourceNotFoundException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => 'domain|repository|package|package-version|asset', ]
Description
The operation did not succeed because the resource requested is not found in the service.
Members
ServiceQuotaExceededException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => 'domain|repository|package|package-version|asset', ]
Description
The operation did not succeed because it would have exceeded a service limit for your account.
Members
ThrottlingException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
The operation did not succeed because too many requests are sent to the service.
Members
ValidationException
[ 'message' => '<string>', 'reason' => 'CANNOT_PARSE|ENCRYPTION_KEY_ERROR|FIELD_VALIDATION_FAILED|UNKNOWN_OPERATION|OTHER', ]