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
BadRequestException
[ 'ErrorCode' => '<string>', 'Message' => '<string>', ]
Description
One of the parameters in the request is invalid.
Members
- ErrorCode
-
- Type: string
400
- Message
-
- Type: string
One of the parameters in the request is invalid.
ConflictException
[ 'ErrorCode' => '<string>', 'Message' => '<string>', ]
Description
The resource already exists.
Members
- ErrorCode
-
- Type: string
409
- Message
-
- Type: string
The resource already exists.
ForbiddenException
[ 'ErrorCode' => '<string>', 'Message' => '<string>', ]
Description
The client is not authenticated.
Members
- ErrorCode
-
- Type: string
403
- Message
-
- Type: string
The client is not authenticated.
InternalServerErrorException
[ 'ErrorCode' => '<string>', 'Message' => '<string>', ]
Description
The AWS Serverless Application Repository service encountered an internal error.
Members
- ErrorCode
-
- Type: string
500
- Message
-
- Type: string
The AWS Serverless Application Repository service encountered an internal error.
NotFoundException
[ 'ErrorCode' => '<string>', 'Message' => '<string>', ]
Description
The resource (for example, an access policy statement) specified in the request doesn't exist.
Members
- ErrorCode
-
- Type: string
404
- Message
-
- Type: string
The resource (for example, an access policy statement) specified in the request doesn't exist.
TooManyRequestsException
[ 'ErrorCode' => '<string>', 'Message' => '<string>', ]
Description
The client is sending more than the allowed number of requests per unit of time.
Members
- ErrorCode
-
- Type: string
429
- Message
-
- Type: string
The client is sending more than the allowed number of requests per unit of time.