Class DocDBElasticException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\DocDBElastic\Exception\DocDBElasticException
- Namespace: Aws\DocDBElastic\Exception
- Located at DocDBElastic/Exception/DocDBElasticException.php
Represents an error interacting with the Amazon DocumentDB Elastic Clusters 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
An exception that occurs when there are not sufficient permissions to perform an action.
Members
ConflictException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
There was an access conflict.
Members
InternalServerException
[ 'message' => '<string>', ]
ResourceNotFoundException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
The specified resource could not be located.
Members
ServiceQuotaExceededException
[ 'message' => '<string>', ]
Description
The service quota for the action was exceeded.
Members
ThrottlingException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
ThrottlingException will be thrown when request was denied due to request throttling.
Members
ValidationException
[ 'fieldList' => [ [ 'message' => '<string>', 'name' => '<string>', ], // ... ], 'message' => '<string>', 'reason' => 'unknownOperation|cannotParse|fieldValidationFailed|other', ]
Description
A structure defining a validation exception.
Members
- fieldList
-
- Type: Array of ValidationExceptionField structures
A list of the fields in which the validation exception occurred.
- message
-
- Required: Yes
- Type: string
An error message describing the validation exception.
- reason
-
- Required: Yes
- Type: string
The reason why the validation exception occurred (one of
unknownOperation
,cannotParse
,fieldValidationFailed
, orother
).