Class drsException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\drs\Exception\drsException
- Namespace: Aws\drs\Exception
- Located at drs/Exception/drsException.php
Represents an error interacting with the Elastic Disaster Recovery Service 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
[ 'code' => '<string>', 'message' => '<string>', ]
Description
You do not have sufficient access to perform this action.
Members
ConflictException
[ 'code' => '<string>', 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
The request could not be completed due to a conflict with the current state of the target resource.
Members
InternalServerException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
The request processing has failed because of an unknown error, exception or failure.
Members
ResourceNotFoundException
[ 'code' => '<string>', 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
The resource for this operation was not found.
Members
ServiceQuotaExceededException
[ 'code' => '<string>', 'message' => '<string>', 'quotaCode' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', 'serviceCode' => '<string>', ]
Description
The request could not be completed because its exceeded the service quota.
Members
ThrottlingException
[ 'message' => '<string>', 'quotaCode' => '<string>', 'retryAfterSeconds' => '<string>', 'serviceCode' => '<string>', ]
Description
The request was denied due to request throttling.
Members
UninitializedAccountException
[ 'code' => '<string>', 'message' => '<string>', ]
Description
The account performing the request has not been initialized.
Members
ValidationException
[ 'code' => '<string>', 'fieldList' => [ [ 'message' => '<string>', 'name' => '<string>', ], // ... ], 'message' => '<string>', 'reason' => 'unknownOperation|cannotParse|fieldValidationFailed|other', ]
Description
The input fails to satisfy the constraints specified by the AWS service.
Members
- code
-
- Type: string
- fieldList
-
- Type: Array of ValidationExceptionField structures
A list of fields that failed validation.
- message
-
- Type: string
- reason
-
- Type: string
Validation exception reason.