Class MobileException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\Mobile\Exception\MobileException
- Namespace: Aws\Mobile\Exception
- Located at Mobile/Exception/MobileException.php
Represents an error interacting with the AWS Mobile 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
AccountActionRequiredException
[ 'message' => '<string>', ]
Description
Account Action is required in order to continue the request.
Members
- message
-
- Type: string
The Exception Error Message.
BadRequestException
[ 'message' => '<string>', ]
Description
The request cannot be processed because some parameter is not valid or the project state prevents the operation from being performed.
Members
- message
-
- Type: string
The Exception Error Message.
InternalFailureException
[ 'message' => '<string>', ]
Description
The service has encountered an unexpected error condition which prevents it from servicing the request.
Members
- message
-
- Type: string
The Exception Error Message.
LimitExceededException
[ 'message' => '<string>', 'retryAfterSeconds' => '<string>', ]
Description
There are too many AWS Mobile Hub projects in the account or the account has exceeded the maximum number of resources in some AWS service. You should create another sub-account using AWS Organizations or remove some resources and retry your request.
Members
- message
-
- Type: string
The Exception Error Message.
- retryAfterSeconds
-
- Type: string
The Exception Error Message.
NotFoundException
[ 'message' => '<string>', ]
Description
No entity can be found with the specified identifier.
Members
- message
-
- Type: string
The Exception Error Message.
ServiceUnavailableException
[ 'message' => '<string>', 'retryAfterSeconds' => '<string>', ]
Description
The service is temporarily unavailable. The request should be retried after some time delay.
Members
- message
-
- Type: string
The Exception Error Message.
- retryAfterSeconds
-
- Type: string
The Exception Error Message.
TooManyRequestsException
[ 'message' => '<string>', 'retryAfterSeconds' => '<string>', ]
Description
Too many requests have been received for this AWS account in too short a time. The request should be retried after some time delay.
Members
- message
-
- Type: string
The Exception Error Message.
- retryAfterSeconds
-
- Type: string
The Exception Error Message.
UnauthorizedException
[ 'message' => '<string>', ]
Description
Credentials of the caller are insufficient to authorize the request.
Members
- message
-
- Type: string
The Exception Error Message.