Class AmplifyBackendException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\AmplifyBackend\Exception\AmplifyBackendException
- Namespace: Aws\AmplifyBackend\Exception
- Located at AmplifyBackend/Exception/AmplifyBackendException.php
Represents an error interacting with the AmplifyBackend 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.
BadRequestException
[ 'Message' => '<string>', ]
Description
An error returned if a request is not formed properly.
Members
- Message
-
- Type: string
An error message to inform that the request failed.
GatewayTimeoutException
[ 'Message' => '<string>', ]
Description
An error returned if there's a temporary issue with the service.
Members
- Message
-
- Type: string
NotFoundException
[ 'Message' => '<string>', 'ResourceType' => '<string>', ]
Description
An error returned when a specific resource type is not found.
Members
- Message
-
- Type: string
An error message to inform that the request has failed.
- ResourceType
-
- Type: string
The type of resource that is not found.
TooManyRequestsException
[ 'LimitType' => '<string>', 'Message' => '<string>', ]
Description
An error that is returned when a limit of a specific type has been exceeded.
Members
- LimitType
-
- Type: string
- Message
-
- Type: string