Class ServerlessApplicationRepositoryException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\ServerlessApplicationRepository\Exception\ServerlessApplicationRepositoryException
- Namespace: Aws\ServerlessApplicationRepository\Exception
- Located at ServerlessApplicationRepository/Exception/ServerlessApplicationRepositoryException.php
Represents an error interacting with the AWSServerlessApplicationRepository 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
[ 'ErrorCode' => '<string>', 'Message' => '<string>', ]
Description
One of the parameters in the request is invalid.
Members
ConflictException
[ 'ErrorCode' => '<string>', 'Message' => '<string>', ]
Description
The resource already exists.
Members
ForbiddenException
[ 'ErrorCode' => '<string>', 'Message' => '<string>', ]
Description
The client is not authenticated.
Members
InternalServerErrorException
[ 'ErrorCode' => '<string>', 'Message' => '<string>', ]
Description
The AWS Serverless Application Repository service encountered an internal error.
Members
NotFoundException
[ 'ErrorCode' => '<string>', 'Message' => '<string>', ]
Description
The resource (for example, an access policy statement) specified in the request doesn't exist.
Members
TooManyRequestsException
[ 'ErrorCode' => '<string>', 'Message' => '<string>', ]