Class SqsException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\Sqs\Exception\SqsException
- Namespace: Aws\Sqs\Exception
- Located at Sqs/Exception/SqsException.php
Represents an error interacting with the Amazon Simple Queue 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
BatchEntryIdsNotDistinct
[ ]
Description
Two or more batch entries in the request have the same Id
.
Members
BatchRequestTooLong
[ ]
Description
The length of all the messages put together is more than the limit.
Members
EmptyBatchRequest
[ ]
Description
The batch request doesn't contain any entries.
Members
InvalidAttributeName
[ ]
Description
The specified attribute doesn't exist.
Members
InvalidBatchEntryId
[ ]
Description
The Id
of a batch entry in a batch request doesn't abide by the specification.
Members
InvalidIdFormat
[ ]
Description
The specified receipt handle isn't valid for the current version.
Members
InvalidMessageContents
[ ]
Description
The message contains characters outside the allowed set.
Members
MessageNotInflight
[ ]
Description
The specified message isn't in flight.
Members
OverLimit
[ ]
Description
The specified action violates a limit. For example, ReceiveMessage
returns this error if the maximum number of inflight messages is reached and AddPermission
returns this error if the maximum number of permissions for the queue is reached.
Members
PurgeQueueInProgress
[ ]
Description
Indicates that the specified queue previously received a PurgeQueue
request within the last 60 seconds (the time it can take to delete the messages in the queue).
Members
QueueDeletedRecently
[ ]
Description
You must wait 60 seconds after deleting a queue before you can create another queue with the same name.
Members
QueueDoesNotExist
[ ]
Description
The specified queue doesn't exist.
Members
QueueNameExists
[ ]
Description
A queue with this name already exists. Amazon SQS returns this error only if the request includes attributes whose values differ from those of the existing queue.
Members
ReceiptHandleIsInvalid
[ ]
Description
The specified receipt handle isn't valid.
Members
TooManyEntriesInBatchRequest
[ ]
Description
The batch request contains more entries than permissible.
Members
UnsupportedOperation
[ ]
Description
Error code 400. Unsupported operation.