Class CloudHSMV2Exception
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\CloudHSMV2\Exception\CloudHSMV2Exception
- Namespace: Aws\CloudHSMV2\Exception
- Located at CloudHSMV2/Exception/CloudHSMV2Exception.php
Represents an error interacting with the AWS CloudHSM V2 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.
CloudHsmAccessDeniedException
[ 'Message' => '<string>', ]
Description
The request was rejected because the requester does not have permission to perform the requested operation.
Members
- Message
-
- Type: string
CloudHsmInternalFailureException
[ 'Message' => '<string>', ]
Description
The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
Members
- Message
-
- Type: string
CloudHsmInvalidRequestException
[ 'Message' => '<string>', ]
Description
The request was rejected because it is not a valid request.
Members
- Message
-
- Type: string
CloudHsmResourceNotFoundException
[ 'Message' => '<string>', ]
Description
The request was rejected because it refers to a resource that cannot be found.
Members
- Message
-
- Type: string
CloudHsmServiceException
[ 'Message' => '<string>', ]
Description
The request was rejected because an error occurred.
Members
- Message
-
- Type: string
CloudHsmTagException
[ 'Message' => '<string>', ]
Description
The request was rejected because of a tagging failure. Verify the tag conditions in all applicable policies, and then retry the request.
Members
- Message
-
- Type: string