Class NetworkManagerException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\NetworkManager\Exception\NetworkManagerException
- Namespace: Aws\NetworkManager\Exception
- Located at NetworkManager/Exception/NetworkManagerException.php
Represents an error interacting with the AWS Network Manager 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
AccessDeniedException
[ 'Message' => '<string>', ]
Description
You do not have sufficient access to perform this action.
Members
- Message
-
- Required: Yes
- Type: string
ConflictException
[ 'Message' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => '<string>', ]
Description
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
Members
- Message
-
- Required: Yes
- Type: string
- ResourceId
-
- Required: Yes
- Type: string
The ID of the resource.
- ResourceType
-
- Required: Yes
- Type: string
The resource type.
CoreNetworkPolicyException
[ 'Errors' => [ [ 'ErrorCode' => '<string>', 'Message' => '<string>', 'Path' => '<string>', ], // ... ], 'Message' => '<string>', ]
Description
Describes a core network policy exception.
Members
- Errors
-
- Type: Array of CoreNetworkPolicyError structures
Describes a core network policy exception.
- Message
-
- Required: Yes
- Type: string
InternalServerException
[ 'Message' => '<string>', 'RetryAfterSeconds' => <integer>, ]
Description
The request has failed due to an internal error.
Members
- Message
-
- Required: Yes
- Type: string
- RetryAfterSeconds
-
- Type: int
Indicates when to retry the request.
ResourceNotFoundException
[ 'Context' => ['<string>', ...], 'Message' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => '<string>', ]
Description
The specified resource could not be found.
Members
- Context
-
- Type: Associative array of custom strings keys (ExceptionContextKey) to strings
The specified resource could not be found.
- Message
-
- Required: Yes
- Type: string
- ResourceId
-
- Required: Yes
- Type: string
The ID of the resource.
- ResourceType
-
- Required: Yes
- Type: string
The resource type.
ServiceQuotaExceededException
[ 'LimitCode' => '<string>', 'Message' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => '<string>', 'ServiceCode' => '<string>', ]
Description
A service limit was exceeded.
Members
- LimitCode
-
- Required: Yes
- Type: string
The limit code.
- Message
-
- Required: Yes
- Type: string
The error message.
- ResourceId
-
- Type: string
The ID of the resource.
- ResourceType
-
- Type: string
The resource type.
- ServiceCode
-
- Required: Yes
- Type: string
The service code.
ThrottlingException
[ 'Message' => '<string>', 'RetryAfterSeconds' => <integer>, ]
Description
The request was denied due to request throttling.
Members
- Message
-
- Required: Yes
- Type: string
- RetryAfterSeconds
-
- Type: int
Indicates when to retry the request.
ValidationException
[ 'Fields' => [ [ 'Message' => '<string>', 'Name' => '<string>', ], // ... ], 'Message' => '<string>', 'Reason' => 'UnknownOperation|CannotParse|FieldValidationFailed|Other', ]
Description
The input fails to satisfy the constraints.
Members
- Fields
-
- Type: Array of ValidationExceptionField structures
The fields that caused the error, if applicable.
- Message
-
- Required: Yes
- Type: string
- Reason
-
- Type: string
The reason for the error.