Class ManagedBlockchainQueryException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\ManagedBlockchainQuery\Exception\ManagedBlockchainQueryException
- Namespace: Aws\ManagedBlockchainQuery\Exception
- Located at ManagedBlockchainQuery/Exception/ManagedBlockchainQueryException.php
Represents an error interacting with the Amazon Managed Blockchain Query 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
AccessDeniedException
[ 'message' => '<string>', ]
Description
The Amazon Web Services account doesn’t have access to this resource.
Members
- message
-
- Required: Yes
- Type: string
The container for the exception message.
InternalServerException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
The request processing has failed because of an internal error in the service.
Members
- message
-
- Required: Yes
- Type: string
The container for the exception message.
- retryAfterSeconds
-
- Type: int
The container of the
retryAfterSeconds
value.
ResourceNotFoundException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => 'collection', ]
Description
The resource was not found.
Members
- message
-
- Required: Yes
- Type: string
The container for the exception message.
- resourceId
-
- Required: Yes
- Type: string
The
resourceId
of the resource that caused the exception. - resourceType
-
- Required: Yes
- Type: string
The
resourceType
of the resource that caused the exception.
ServiceQuotaExceededException
[ 'message' => '<string>', 'quotaCode' => '<string>', 'resourceId' => '<string>', 'resourceType' => 'collection', 'serviceCode' => '<string>', ]
Description
The service quota has been exceeded for this resource.
Members
- message
-
- Required: Yes
- Type: string
The container for the exception message.
- quotaCode
-
- Required: Yes
- Type: string
The container for the
quotaCode
. - resourceId
-
- Required: Yes
- Type: string
The
resourceId
of the resource that caused the exception. - resourceType
-
- Required: Yes
- Type: string
The
resourceType
of the resource that caused the exception. - serviceCode
-
- Required: Yes
- Type: string
The container for the
serviceCode
.
ThrottlingException
[ 'message' => '<string>', 'quotaCode' => '<string>', 'retryAfterSeconds' => <integer>, 'serviceCode' => '<string>', ]
Description
The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
Members
- message
-
- Required: Yes
- Type: string
The container for the exception message.
- quotaCode
-
- Required: Yes
- Type: string
The container for the
quotaCode
. - retryAfterSeconds
-
- Type: int
The container of the
retryAfterSeconds
value. - serviceCode
-
- Required: Yes
- Type: string
The container for the
serviceCode
.
ValidationException
[ 'fieldList' => [ [ 'message' => '<string>', 'name' => '<string>', ], // ... ], 'message' => '<string>', 'reason' => 'unknownOperation|cannotParse|fieldValidationFailed|other', ]
Description
The resource passed is invalid.
Members
- fieldList
-
- Type: Array of ValidationExceptionField structures
The container for the
fieldList
of the exception. - message
-
- Required: Yes
- Type: string
The container for the exception message.
- reason
-
- Required: Yes
- Type: string
The container for the reason for the exception