Class PrivateNetworksException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\PrivateNetworks\Exception\PrivateNetworksException
- Namespace: Aws\PrivateNetworks\Exception
- Located at PrivateNetworks/Exception/PrivateNetworksException.php
Represents an error interacting with the AWS Private 5G 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.
AccessDeniedException
[ 'message' => '<string>', ]
Description
You do not have permission to perform this operation.
Members
- message
-
- Type: string
InternalServerException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
Information about an internal error.
Members
- message
-
- Required: Yes
- Type: string
Description of the error.
- retryAfterSeconds
-
- Type: int
Advice to clients on when the call can be safely retried.
LimitExceededException
[ 'message' => '<string>', ]
Description
The limit was exceeded.
Members
- message
-
- Required: Yes
- Type: string
ResourceNotFoundException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
The resource was not found.
Members
- message
-
- Required: Yes
- Type: string
Description of the error.
- resourceId
-
- Required: Yes
- Type: string
Identifier of the affected resource.
- resourceType
-
- Required: Yes
- Type: string
Type of the affected resource.
ThrottlingException
[ 'message' => '<string>', ]
Description
The request was denied due to request throttling.
Members
- message
-
- Type: string
ValidationException
[ 'fieldList' => [ [ 'message' => '<string>', 'name' => '<string>', ], // ... ], 'message' => '<string>', 'reason' => 'UNKNOWN_OPERATION|CANNOT_PARSE|CANNOT_ASSUME_ROLE|FIELD_VALIDATION_FAILED|OTHER', ]
Description
The request failed validation.
Members
- fieldList
-
- Type: Array of ValidationExceptionField structures
The list of fields that caused the error, if applicable.
- message
-
- Required: Yes
- Type: string
Description of the error.
- reason
-
- Required: Yes
- Type: string
Reason the request failed validation.