Class ApiGatewayV2Exception
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\ApiGatewayV2\Exception\ApiGatewayV2Exception
- Namespace: Aws\ApiGatewayV2\Exception
- Located at ApiGatewayV2/Exception/ApiGatewayV2Exception.php
Represents an error interacting with the AmazonApiGatewayV2 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>', ]
Members
- Message
-
- Type: string
BadRequestException
[ 'Message' => '<string>', ]
Description
The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
Members
- Message
-
- Type: string
Describes the error encountered.
ConflictException
[ 'Message' => '<string>', ]
Description
The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
Members
- Message
-
- Type: string
Describes the error encountered.
NotFoundException
[ 'Message' => '<string>', 'ResourceType' => '<string>', ]
Description
The resource specified in the request was not found. See the message field for more information.
Members
- Message
-
- Type: string
Describes the error encountered.
- ResourceType
-
- Type: string
The resource type.
TooManyRequestsException
[ 'LimitType' => '<string>', 'Message' => '<string>', ]
Description
A limit has been exceeded. See the accompanying error message for details.
Members
- LimitType
-
- Type: string
- Message
-
- Type: string