Class TrustedAdvisorException
- Exception
- RuntimeException
- Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
- Aws\TrustedAdvisor\Exception\TrustedAdvisorException
- Namespace: Aws\TrustedAdvisor\Exception
- Located at TrustedAdvisor/Exception/TrustedAdvisorException.php
Represents an error interacting with the TrustedAdvisor Public API 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
Exception that access has been denied due to insufficient access
Members
- message
-
- Required: Yes
- Type: string
ConflictException
[ 'message' => '<string>', ]
Description
Exception that the request was denied due to conflictions in state
Members
- message
-
- Required: Yes
- Type: string
InternalServerException
[ 'message' => '<string>', ]
Description
Exception to notify that an unexpected internal error occurred during processing of the request
Members
- message
-
- Required: Yes
- Type: string
ResourceNotFoundException
[ 'message' => '<string>', ]
Description
Exception that the requested resource has not been found
Members
- message
-
- Required: Yes
- Type: string
ThrottlingException
[ 'message' => '<string>', ]
Description
Exception to notify that requests are being throttled
Members
- message
-
- Required: Yes
- Type: string
ValidationException
[ 'message' => '<string>', ]
Description
Exception that the request failed to satisfy service constraints
Members
- message
-
- Required: Yes
- Type: string