Class XRayException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\XRay\Exception\XRayException
- Namespace: Aws\XRay\Exception
- Located at XRay/Exception/XRayException.php
Represents an error interacting with the AWS X-Ray 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.
InvalidPolicyRevisionIdException
[ 'Message' => '<string>', ]
Description
A policy revision id was provided which does not match the latest policy revision. This exception is also if a policy revision id of 0 is provided via PutResourcePolicy
and a policy with the same name already exists.
Members
InvalidRequestException
[ 'Message' => '<string>', ]
Description
The request is missing required parameters or has invalid parameters.
Members
LockoutPreventionException
[ 'Message' => '<string>', ]
Description
The provided resource policy would prevent the caller of this request from calling PutResourcePolicy in the future.
Members
MalformedPolicyDocumentException
[ 'Message' => '<string>', ]
PolicyCountLimitExceededException
[ 'Message' => '<string>', ]
Description
Exceeded the maximum number of resource policies for a target Amazon Web Services account.
Members
PolicySizeLimitExceededException
[ 'Message' => '<string>', ]
ResourceNotFoundException
[ 'Message' => '<string>', 'ResourceName' => '<string>', ]
Description
The resource was not found. Verify that the name or Amazon Resource Name (ARN) of the resource is correct.
Members
RuleLimitExceededException
[ 'Message' => '<string>', ]
ThrottledException
[ 'Message' => '<string>', ]
Description
The request exceeds the maximum number of requests per second.
Members
TooManyTagsException
[ 'Message' => '<string>', 'ResourceName' => '<string>', ]