Class AmplifyException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\Amplify\Exception\AmplifyException
- Namespace: Aws\Amplify\Exception
- Located at Amplify/Exception/AmplifyException.php
Represents an error interacting with the AWS Amplify 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
A request contains unexpected data.
Members
- message
-
- Type: string
DependentServiceFailureException
[ 'message' => '<string>', ]
Description
An operation failed because a dependent service threw an exception.
Members
- message
-
- Type: string
InternalFailureException
[ 'message' => '<string>', ]
Description
The service failed to perform an operation due to an internal issue.
Members
- message
-
- Type: string
LimitExceededException
[ 'message' => '<string>', ]
Description
A resource could not be created because service quotas were exceeded.
Members
- message
-
- Type: string
NotFoundException
[ 'message' => '<string>', ]
Description
An entity was not found during an operation.
Members
- message
-
- Type: string
ResourceNotFoundException
[ 'code' => '<string>', 'message' => '<string>', ]
Description
An operation failed due to a non-existent resource.
Members
- code
-
- Required: Yes
- Type: string
- message
-
- Required: Yes
- Type: string
UnauthorizedException
[ 'message' => '<string>', ]
Description
An operation failed due to a lack of access.
Members
- message
-
- Type: string