Class StorageGatewayException
- Exception
- RuntimeException
- Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
- Aws\StorageGateway\Exception\StorageGatewayException
- Namespace: Aws\StorageGateway\Exception
- Located at StorageGateway/Exception/StorageGatewayException.php
Represents an error interacting with the AWS Storage Gateway 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
InternalServerError
[ 'error' => [ 'errorCode' => 'ActivationKeyExpired|ActivationKeyInvalid|ActivationKeyNotFound|GatewayInternalError|GatewayNotConnected|GatewayNotFound|GatewayProxyNetworkConnectionBusy|AuthenticationFailure|BandwidthThrottleScheduleNotFound|Blocked|CannotExportSnapshot|ChapCredentialNotFound|DiskAlreadyAllocated|DiskDoesNotExist|DiskSizeGreaterThanVolumeMaxSize|DiskSizeLessThanVolumeSize|DiskSizeNotGigAligned|DuplicateCertificateInfo|DuplicateSchedule|EndpointNotFound|IAMNotSupported|InitiatorInvalid|InitiatorNotFound|InternalError|InvalidGateway|InvalidEndpoint|InvalidParameters|InvalidSchedule|LocalStorageLimitExceeded|LunAlreadyAllocated |LunInvalid|JoinDomainInProgress|MaximumContentLengthExceeded|MaximumTapeCartridgeCountExceeded|MaximumVolumeCountExceeded|NetworkConfigurationChanged|NoDisksAvailable|NotImplemented|NotSupported|OperationAborted|OutdatedGateway|ParametersNotImplemented|RegionInvalid|RequestTimeout|ServiceUnavailable|SnapshotDeleted|SnapshotIdInvalid|SnapshotInProgress|SnapshotNotFound|SnapshotScheduleNotFound|StagingAreaFull|StorageFailure|TapeCartridgeNotFound|TargetAlreadyExists|TargetInvalid|TargetNotFound|UnauthorizedOperation|VolumeAlreadyExists|VolumeIdInvalid|VolumeInUse|VolumeNotFound|VolumeNotReady', 'errorDetails' => ['<string>', ...], ], 'message' => '<string>', ]
Description
An internal server error has occurred during the request. For more information, see the error and message fields.
Members
- error
-
- Type: StorageGatewayError structure
A StorageGatewayError that provides more information about the cause of the error.
- message
-
- Type: string
A human-readable message describing the error that occurred.
InvalidGatewayRequestException
[ 'error' => [ 'errorCode' => 'ActivationKeyExpired|ActivationKeyInvalid|ActivationKeyNotFound|GatewayInternalError|GatewayNotConnected|GatewayNotFound|GatewayProxyNetworkConnectionBusy|AuthenticationFailure|BandwidthThrottleScheduleNotFound|Blocked|CannotExportSnapshot|ChapCredentialNotFound|DiskAlreadyAllocated|DiskDoesNotExist|DiskSizeGreaterThanVolumeMaxSize|DiskSizeLessThanVolumeSize|DiskSizeNotGigAligned|DuplicateCertificateInfo|DuplicateSchedule|EndpointNotFound|IAMNotSupported|InitiatorInvalid|InitiatorNotFound|InternalError|InvalidGateway|InvalidEndpoint|InvalidParameters|InvalidSchedule|LocalStorageLimitExceeded|LunAlreadyAllocated |LunInvalid|JoinDomainInProgress|MaximumContentLengthExceeded|MaximumTapeCartridgeCountExceeded|MaximumVolumeCountExceeded|NetworkConfigurationChanged|NoDisksAvailable|NotImplemented|NotSupported|OperationAborted|OutdatedGateway|ParametersNotImplemented|RegionInvalid|RequestTimeout|ServiceUnavailable|SnapshotDeleted|SnapshotIdInvalid|SnapshotInProgress|SnapshotNotFound|SnapshotScheduleNotFound|StagingAreaFull|StorageFailure|TapeCartridgeNotFound|TargetAlreadyExists|TargetInvalid|TargetNotFound|UnauthorizedOperation|VolumeAlreadyExists|VolumeIdInvalid|VolumeInUse|VolumeNotFound|VolumeNotReady', 'errorDetails' => ['<string>', ...], ], 'message' => '<string>', ]
Description
An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
Members
- error
-
- Type: StorageGatewayError structure
A StorageGatewayError that provides more detail about the cause of the error.
- message
-
- Type: string
A human-readable message describing the error that occurred.
ServiceUnavailableError
[ 'error' => [ 'errorCode' => 'ActivationKeyExpired|ActivationKeyInvalid|ActivationKeyNotFound|GatewayInternalError|GatewayNotConnected|GatewayNotFound|GatewayProxyNetworkConnectionBusy|AuthenticationFailure|BandwidthThrottleScheduleNotFound|Blocked|CannotExportSnapshot|ChapCredentialNotFound|DiskAlreadyAllocated|DiskDoesNotExist|DiskSizeGreaterThanVolumeMaxSize|DiskSizeLessThanVolumeSize|DiskSizeNotGigAligned|DuplicateCertificateInfo|DuplicateSchedule|EndpointNotFound|IAMNotSupported|InitiatorInvalid|InitiatorNotFound|InternalError|InvalidGateway|InvalidEndpoint|InvalidParameters|InvalidSchedule|LocalStorageLimitExceeded|LunAlreadyAllocated |LunInvalid|JoinDomainInProgress|MaximumContentLengthExceeded|MaximumTapeCartridgeCountExceeded|MaximumVolumeCountExceeded|NetworkConfigurationChanged|NoDisksAvailable|NotImplemented|NotSupported|OperationAborted|OutdatedGateway|ParametersNotImplemented|RegionInvalid|RequestTimeout|ServiceUnavailable|SnapshotDeleted|SnapshotIdInvalid|SnapshotInProgress|SnapshotNotFound|SnapshotScheduleNotFound|StagingAreaFull|StorageFailure|TapeCartridgeNotFound|TargetAlreadyExists|TargetInvalid|TargetNotFound|UnauthorizedOperation|VolumeAlreadyExists|VolumeIdInvalid|VolumeInUse|VolumeNotFound|VolumeNotReady', 'errorDetails' => ['<string>', ...], ], 'message' => '<string>', ]
Description
An internal server error has occurred because the service is unavailable. For more information, see the error and message fields.
Members
- error
-
- Type: StorageGatewayError structure
A StorageGatewayError that provides more information about the cause of the error.
- message
-
- Type: string
A human-readable message describing the error that occurred.