Class AwsException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
- Namespace: Aws\Exception
- Located at Exception/AwsException.php
Represents an AWS exception that is thrown when a command fails.
Direct known subclasses
Aws\AccessAnalyzer\Exception\AccessAnalyzerException
,
Aws\Account\Exception\AccountException
,
Aws\ApiGatewayV2\Exception\ApiGatewayV2Exception
,
Aws\DataExchange\Exception\DataExchangeException
,
Aws\DataPipeline\Exception\DataPipelineException
,
Aws\DataSync\Exception\DataSyncException
,
Aws\DataZone\Exception\DataZoneException
,
Aws\DAX\Exception\DAXException
,
Aws\Detective\Exception\DetectiveException
,
Aws\DeviceFarm\Exception\DeviceFarmException
,
Aws\DevOpsGuru\Exception\DevOpsGuruException
,
Aws\DirectConnect\Exception\DirectConnectException
,
Aws\DirectoryService\Exception\DirectoryServiceException
,
Aws\AppConfig\Exception\AppConfigException
,
Aws\DLM\Exception\DLMException
,
Aws\DocDB\Exception\DocDBException
,
Aws\DocDBElastic\Exception\DocDBElasticException
,
Aws\drs\Exception\drsException
,
Aws\DynamoDb\Exception\DynamoDbException
,
Aws\DynamoDbStreams\Exception\DynamoDbStreamsException
,
Aws\EBS\Exception\EBSException
,
Aws\Ec2\Exception\Ec2Exception
,
Aws\EC2InstanceConnect\Exception\EC2InstanceConnectException
,
Aws\Ecr\Exception\EcrException
,
Aws\AppConfigData\Exception\AppConfigDataException
,
Aws\ECRPublic\Exception\ECRPublicException
,
Aws\Ecs\Exception\EcsException
,
Aws\Efs\Exception\EfsException
,
Aws\EKS\Exception\EKSException
,
Aws\EKSAuth\Exception\EKSAuthException
,
Aws\ElastiCache\Exception\ElastiCacheException
,
Aws\ElasticBeanstalk\Exception\ElasticBeanstalkException
,
Aws\ElasticInference\Exception\ElasticInferenceException
,
Aws\ElasticLoadBalancing\Exception\ElasticLoadBalancingException
,
Aws\ElasticLoadBalancingV2\Exception\ElasticLoadBalancingV2Exception
,
Aws\AppFabric\Exception\AppFabricException
,
Aws\ElasticsearchService\Exception\ElasticsearchServiceException
,
Aws\ElasticTranscoder\Exception\ElasticTranscoderException
,
Aws\Emr\Exception\EmrException
,
Aws\EMRContainers\Exception\EMRContainersException
,
Aws\EMRServerless\Exception\EMRServerlessException
,
Aws\EntityResolution\Exception\EntityResolutionException
,
Aws\EventBridge\Exception\EventBridgeException
,
Aws\finspace\Exception\finspaceException
,
Aws\FinSpaceData\Exception\FinSpaceDataException
,
Aws\Firehose\Exception\FirehoseException
,
Aws\Appflow\Exception\AppflowException
,
Aws\FIS\Exception\FISException
,
Aws\FMS\Exception\FMSException
,
Aws\ForecastQueryService\Exception\ForecastQueryServiceException
,
Aws\ForecastService\Exception\ForecastServiceException
,
Aws\FraudDetector\Exception\FraudDetectorException
,
Aws\FreeTier\Exception\FreeTierException
,
Aws\FSx\Exception\FSxException
,
Aws\GameLift\Exception\GameLiftException
,
Aws\Glacier\Exception\GlacierException
,
Aws\GlobalAccelerator\Exception\GlobalAcceleratorException
,
Aws\AppIntegrationsService\Exception\AppIntegrationsServiceException
,
Aws\Glue\Exception\GlueException
,
Aws\GlueDataBrew\Exception\GlueDataBrewException
,
Aws\Greengrass\Exception\GreengrassException
,
Aws\GreengrassV2\Exception\GreengrassV2Exception
,
Aws\GroundStation\Exception\GroundStationException
,
Aws\GuardDuty\Exception\GuardDutyException
,
Aws\Health\Exception\HealthException
,
Aws\HealthLake\Exception\HealthLakeException
,
Aws\Honeycode\Exception\HoneycodeException
,
Aws\Iam\Exception\IamException
,
Aws\ApplicationAutoScaling\Exception\ApplicationAutoScalingException
,
Aws\IdentityStore\Exception\IdentityStoreException
,
Aws\imagebuilder\Exception\imagebuilderException
,
Aws\ImportExport\Exception\ImportExportException
,
Aws\Inspector2\Exception\Inspector2Exception
,
Aws\Inspector\Exception\InspectorException
,
Aws\InspectorScan\Exception\InspectorScanException
,
Aws\InternetMonitor\Exception\InternetMonitorException
,
Aws\IoT1ClickDevicesService\Exception\IoT1ClickDevicesServiceException
,
Aws\IoT1ClickProjects\Exception\IoT1ClickProjectsException
,
Aws\Iot\Exception\IotException
,
Aws\ApplicationCostProfiler\Exception\ApplicationCostProfilerException
,
Aws\IoTAnalytics\Exception\IoTAnalyticsException
,
Aws\IotDataPlane\Exception\IotDataPlaneException
,
Aws\IoTDeviceAdvisor\Exception\IoTDeviceAdvisorException
,
Aws\IoTEvents\Exception\IoTEventsException
,
Aws\IoTEventsData\Exception\IoTEventsDataException
,
Aws\IoTFleetHub\Exception\IoTFleetHubException
,
Aws\IoTFleetWise\Exception\IoTFleetWiseException
,
Aws\IoTJobsDataPlane\Exception\IoTJobsDataPlaneException
,
Aws\IoTRoboRunner\Exception\IoTRoboRunnerException
,
Aws\IoTSecureTunneling\Exception\IoTSecureTunnelingException
,
Aws\ApplicationDiscoveryService\Exception\ApplicationDiscoveryServiceException
,
Aws\IoTSiteWise\Exception\IoTSiteWiseException
,
Aws\IoTThingsGraph\Exception\IoTThingsGraphException
,
Aws\IoTTwinMaker\Exception\IoTTwinMakerException
,
Aws\IoTWireless\Exception\IoTWirelessException
,
Aws\IVS\Exception\IVSException
,
Aws\ivschat\Exception\ivschatException
,
Aws\IVSRealTime\Exception\IVSRealTimeException
,
Aws\Kafka\Exception\KafkaException
,
Aws\KafkaConnect\Exception\KafkaConnectException
,
Aws\kendra\Exception\kendraException
,
Aws\ApplicationInsights\Exception\ApplicationInsightsException
,
Aws\KendraRanking\Exception\KendraRankingException
,
Aws\Keyspaces\Exception\KeyspacesException
,
Aws\Kinesis\Exception\KinesisException
,
Aws\KinesisAnalytics\Exception\KinesisAnalyticsException
,
Aws\KinesisAnalyticsV2\Exception\KinesisAnalyticsV2Exception
,
Aws\KinesisVideo\Exception\KinesisVideoException
,
Aws\KinesisVideoArchivedMedia\Exception\KinesisVideoArchivedMediaException
,
Aws\KinesisVideoMedia\Exception\KinesisVideoMediaException
,
Aws\KinesisVideoSignalingChannels\Exception\KinesisVideoSignalingChannelsException
,
Aws\KinesisVideoWebRTCStorage\Exception\KinesisVideoWebRTCStorageException
,
Aws\Acm\Exception\AcmException
,
Aws\AppMesh\Exception\AppMeshException
,
Aws\Kms\Exception\KmsException
,
Aws\LakeFormation\Exception\LakeFormationException
,
Aws\Lambda\Exception\LambdaException
,
Aws\LaunchWizard\Exception\LaunchWizardException
,
Aws\LexModelBuildingService\Exception\LexModelBuildingServiceException
,
Aws\LexModelsV2\Exception\LexModelsV2Exception
,
Aws\LexRuntimeService\Exception\LexRuntimeServiceException
,
Aws\LexRuntimeV2\Exception\LexRuntimeV2Exception
,
Aws\LicenseManager\Exception\LicenseManagerException
,
Aws\LicenseManagerLinuxSubscriptions\Exception\LicenseManagerLinuxSubscriptionsException
,
Aws\AppRegistry\Exception\AppRegistryException
,
Aws\LicenseManagerUserSubscriptions\Exception\LicenseManagerUserSubscriptionsException
,
Aws\Lightsail\Exception\LightsailException
,
Aws\LocationService\Exception\LocationServiceException
,
Aws\LookoutEquipment\Exception\LookoutEquipmentException
,
Aws\LookoutforVision\Exception\LookoutforVisionException
,
Aws\LookoutMetrics\Exception\LookoutMetricsException
,
Aws\MachineLearning\Exception\MachineLearningException
,
Aws\Macie2\Exception\Macie2Exception
,
Aws\MainframeModernization\Exception\MainframeModernizationException
,
Aws\ManagedBlockchain\Exception\ManagedBlockchainException
,
Aws\AppRunner\Exception\AppRunnerException
,
Aws\ManagedBlockchainQuery\Exception\ManagedBlockchainQueryException
,
Aws\ManagedGrafana\Exception\ManagedGrafanaException
,
Aws\MarketplaceAgreement\Exception\MarketplaceAgreementException
,
Aws\MarketplaceCatalog\Exception\MarketplaceCatalogException
,
Aws\MarketplaceCommerceAnalytics\Exception\MarketplaceCommerceAnalyticsException
,
Aws\MarketplaceDeployment\Exception\MarketplaceDeploymentException
,
Aws\MarketplaceEntitlementService\Exception\MarketplaceEntitlementServiceException
,
Aws\MarketplaceMetering\Exception\MarketplaceMeteringException
,
Aws\MediaConnect\Exception\MediaConnectException
,
Aws\MediaConvert\Exception\MediaConvertException
,
Aws\Appstream\Exception\AppstreamException
,
Aws\MediaLive\Exception\MediaLiveException
,
Aws\MediaPackage\Exception\MediaPackageException
,
Aws\MediaPackageV2\Exception\MediaPackageV2Exception
,
Aws\MediaPackageVod\Exception\MediaPackageVodException
,
Aws\MediaStore\Exception\MediaStoreException
,
Aws\MediaStoreData\Exception\MediaStoreDataException
,
Aws\MediaTailor\Exception\MediaTailorException
,
Aws\MedicalImaging\Exception\MedicalImagingException
,
Aws\MemoryDB\Exception\MemoryDBException
,
Aws\mgn\Exception\mgnException
,
Aws\AppSync\Exception\AppSyncException
,
Aws\MigrationHub\Exception\MigrationHubException
,
Aws\MigrationHubConfig\Exception\MigrationHubConfigException
,
Aws\MigrationHubOrchestrator\Exception\MigrationHubOrchestratorException
,
Aws\MigrationHubRefactorSpaces\Exception\MigrationHubRefactorSpacesException
,
Aws\MigrationHubStrategyRecommendations\Exception\MigrationHubStrategyRecommendationsException
,
Aws\Mobile\Exception\MobileException
,
Aws\MQ\Exception\MQException
,
Aws\MTurk\Exception\MTurkException
,
Aws\MWAA\Exception\MWAAException
,
Aws\Neptune\Exception\NeptuneException
,
Aws\ARCZonalShift\Exception\ARCZonalShiftException
,
Aws\Neptunedata\Exception\NeptunedataException
,
Aws\NetworkFirewall\Exception\NetworkFirewallException
,
Aws\NetworkManager\Exception\NetworkManagerException
,
Aws\NimbleStudio\Exception\NimbleStudioException
,
Aws\OAM\Exception\OAMException
,
Aws\Omics\Exception\OmicsException
,
Aws\OpenSearchServerless\Exception\OpenSearchServerlessException
,
Aws\OpenSearchService\Exception\OpenSearchServiceException
,
Aws\OpsWorks\Exception\OpsWorksException
,
Aws\OpsWorksCM\Exception\OpsWorksCMException
,
Aws\Athena\Exception\AthenaException
,
Aws\Organizations\Exception\OrganizationsException
,
Aws\OSIS\Exception\OSISException
,
Aws\Outposts\Exception\OutpostsException
,
Aws\Panorama\Exception\PanoramaException
,
Aws\PaymentCryptography\Exception\PaymentCryptographyException
,
Aws\PaymentCryptographyData\Exception\PaymentCryptographyDataException
,
Aws\PcaConnectorAd\Exception\PcaConnectorAdException
,
Aws\Personalize\Exception\PersonalizeException
,
Aws\PersonalizeEvents\Exception\PersonalizeEventsException
,
Aws\PersonalizeRuntime\Exception\PersonalizeRuntimeException
,
Aws\AuditManager\Exception\AuditManagerException
,
Aws\PI\Exception\PIException
,
Aws\Pinpoint\Exception\PinpointException
,
Aws\PinpointEmail\Exception\PinpointEmailException
,
Aws\PinpointSMSVoice\Exception\PinpointSMSVoiceException
,
Aws\PinpointSMSVoiceV2\Exception\PinpointSMSVoiceV2Exception
,
Aws\Pipes\Exception\PipesException
,
Aws\Polly\Exception\PollyException
,
Aws\Pricing\Exception\PricingException
,
Aws\PrivateNetworks\Exception\PrivateNetworksException
,
Aws\PrometheusService\Exception\PrometheusServiceException
,
Aws\AugmentedAIRuntime\Exception\AugmentedAIRuntimeException
,
Aws\Proton\Exception\ProtonException
,
Aws\QBusiness\Exception\QBusinessException
,
Aws\QConnect\Exception\QConnectException
,
Aws\QLDB\Exception\QLDBException
,
Aws\QLDBSession\Exception\QLDBSessionException
,
Aws\QuickSight\Exception\QuickSightException
,
Aws\RAM\Exception\RAMException
,
Aws\Rds\Exception\RdsException
,
Aws\RDSDataService\Exception\RDSDataServiceException
,
Aws\RecycleBin\Exception\RecycleBinException
,
Aws\AutoScaling\Exception\AutoScalingException
,
Aws\Redshift\Exception\RedshiftException
,
Aws\RedshiftDataAPIService\Exception\RedshiftDataAPIServiceException
,
Aws\RedshiftServerless\Exception\RedshiftServerlessException
,
Aws\Rekognition\Exception\RekognitionException
,
Aws\Repostspace\Exception\RepostspaceException
,
Aws\ResilienceHub\Exception\ResilienceHubException
,
Aws\ResourceExplorer2\Exception\ResourceExplorer2Exception
,
Aws\ResourceGroups\Exception\ResourceGroupsException
,
Aws\ResourceGroupsTaggingAPI\Exception\ResourceGroupsTaggingAPIException
,
Aws\RoboMaker\Exception\RoboMakerException
,
Aws\ACMPCA\Exception\ACMPCAException
,
Aws\AutoScalingPlans\Exception\AutoScalingPlansException
,
Aws\RolesAnywhere\Exception\RolesAnywhereException
,
Aws\Route53\Exception\Route53Exception
,
Aws\Route53Domains\Exception\Route53DomainsException
,
Aws\Route53RecoveryCluster\Exception\Route53RecoveryClusterException
,
Aws\Route53RecoveryControlConfig\Exception\Route53RecoveryControlConfigException
,
Aws\Route53RecoveryReadiness\Exception\Route53RecoveryReadinessException
,
Aws\Route53Resolver\Exception\Route53ResolverException
,
Aws\S3\Exception\S3Exception
,
Aws\S3Control\Exception\S3ControlException
,
Aws\S3Outposts\Exception\S3OutpostsException
,
Aws\B2bi\Exception\B2biException
,
Aws\SageMaker\Exception\SageMakerException
,
Aws\SagemakerEdgeManager\Exception\SagemakerEdgeManagerException
,
Aws\SageMakerFeatureStoreRuntime\Exception\SageMakerFeatureStoreRuntimeException
,
Aws\SageMakerGeospatial\Exception\SageMakerGeospatialException
,
Aws\SageMakerMetrics\Exception\SageMakerMetricsException
,
Aws\SageMakerRuntime\Exception\SageMakerRuntimeException
,
Aws\SavingsPlans\Exception\SavingsPlansException
,
Aws\Scheduler\Exception\SchedulerException
,
Aws\Schemas\Exception\SchemasException
,
Aws\SecretsManager\Exception\SecretsManagerException
,
Aws\Backup\Exception\BackupException
,
Aws\SecurityHub\Exception\SecurityHubException
,
Aws\SecurityLake\Exception\SecurityLakeException
,
Aws\ServerlessApplicationRepository\Exception\ServerlessApplicationRepositoryException
,
Aws\ServiceCatalog\Exception\ServiceCatalogException
,
Aws\ServiceDiscovery\Exception\ServiceDiscoveryException
,
Aws\ServiceQuotas\Exception\ServiceQuotasException
,
Aws\Ses\Exception\SesException
,
Aws\SesV2\Exception\SesV2Exception
,
Aws\Sfn\Exception\SfnException
,
Aws\Shield\Exception\ShieldException
,
Aws\BackupGateway\Exception\BackupGatewayException
,
Aws\signer\Exception\signerException
,
Aws\SimSpaceWeaver\Exception\SimSpaceWeaverException
,
Aws\Sms\Exception\SmsException
,
Aws\SnowBall\Exception\SnowBallException
,
Aws\SnowDeviceManagement\Exception\SnowDeviceManagementException
,
Aws\Sns\Exception\SnsException
,
Aws\Sqs\Exception\SqsException
,
Aws\Ssm\Exception\SsmException
,
Aws\SSMContacts\Exception\SSMContactsException
,
Aws\SSMIncidents\Exception\SSMIncidentsException
,
Aws\BackupStorage\Exception\BackupStorageException
,
Aws\SsmSap\Exception\SsmSapException
,
Aws\SSO\Exception\SSOException
,
Aws\SSOAdmin\Exception\SSOAdminException
,
Aws\SSOOIDC\Exception\SSOOIDCException
,
Aws\StorageGateway\Exception\StorageGatewayException
,
Aws\Sts\Exception\StsException
,
Aws\Support\Exception\SupportException
,
Aws\SupportApp\Exception\SupportAppException
,
Aws\Swf\Exception\SwfException
,
Aws\Synthetics\Exception\SyntheticsException
,
Aws\Batch\Exception\BatchException
,
Aws\Textract\Exception\TextractException
,
Aws\TimestreamQuery\Exception\TimestreamQueryException
,
Aws\TimestreamWrite\Exception\TimestreamWriteException
,
Aws\Tnb\Exception\TnbException
,
Aws\TranscribeService\Exception\TranscribeServiceException
,
Aws\Transfer\Exception\TransferException
,
Aws\Translate\Exception\TranslateException
,
Aws\TrustedAdvisor\Exception\TrustedAdvisorException
,
Aws\VerifiedPermissions\Exception\VerifiedPermissionsException
,
Aws\VoiceID\Exception\VoiceIDException
,
Aws\BCMDataExports\Exception\BCMDataExportsException
,
Aws\VPCLattice\Exception\VPCLatticeException
,
Aws\Waf\Exception\WafException
,
Aws\WafRegional\Exception\WafRegionalException
,
Aws\WAFV2\Exception\WAFV2Exception
,
Aws\WellArchitected\Exception\WellArchitectedException
,
Aws\WorkDocs\Exception\WorkDocsException
,
Aws\WorkLink\Exception\WorkLinkException
,
Aws\WorkMail\Exception\WorkMailException
,
Aws\WorkMailMessageFlow\Exception\WorkMailMessageFlowException
,
Aws\WorkSpaces\Exception\WorkSpacesException
,
Aws\Bedrock\Exception\BedrockException
,
Aws\WorkSpacesThinClient\Exception\WorkSpacesThinClientException
,
Aws\WorkSpacesWeb\Exception\WorkSpacesWebException
,
Aws\XRay\Exception\XRayException
,
Aws\BedrockAgent\Exception\BedrockAgentException
,
Aws\BedrockAgentRuntime\Exception\BedrockAgentRuntimeException
,
Aws\AlexaForBusiness\Exception\AlexaForBusinessException
,
Aws\BedrockRuntime\Exception\BedrockRuntimeException
,
Aws\BillingConductor\Exception\BillingConductorException
,
Aws\Braket\Exception\BraketException
,
Aws\Budgets\Exception\BudgetsException
,
Aws\Chime\Exception\ChimeException
,
Aws\ChimeSDKIdentity\Exception\ChimeSDKIdentityException
,
Aws\ChimeSDKMediaPipelines\Exception\ChimeSDKMediaPipelinesException
,
Aws\ChimeSDKMeetings\Exception\ChimeSDKMeetingsException
,
Aws\ChimeSDKMessaging\Exception\ChimeSDKMessagingException
,
Aws\ChimeSDKVoice\Exception\ChimeSDKVoiceException
,
Aws\Amplify\Exception\AmplifyException
,
Aws\CleanRooms\Exception\CleanRoomsException
,
Aws\CleanRoomsML\Exception\CleanRoomsMLException
,
Aws\Cloud9\Exception\Cloud9Exception
,
Aws\CloudControlApi\Exception\CloudControlApiException
,
Aws\CloudDirectory\Exception\CloudDirectoryException
,
Aws\CloudFormation\Exception\CloudFormationException
,
Aws\CloudFront\Exception\CloudFrontException
,
Aws\CloudFrontKeyValueStore\Exception\CloudFrontKeyValueStoreException
,
Aws\CloudHsm\Exception\CloudHsmException
,
Aws\CloudHSMV2\Exception\CloudHSMV2Exception
,
Aws\AmplifyBackend\Exception\AmplifyBackendException
,
Aws\CloudSearch\Exception\CloudSearchException
,
Aws\CloudSearchDomain\Exception\CloudSearchDomainException
,
Aws\CloudTrail\Exception\CloudTrailException
,
Aws\CloudTrailData\Exception\CloudTrailDataException
,
Aws\CloudWatch\Exception\CloudWatchException
,
Aws\CloudWatchEvents\Exception\CloudWatchEventsException
,
Aws\CloudWatchEvidently\Exception\CloudWatchEvidentlyException
,
Aws\CloudWatchLogs\Exception\CloudWatchLogsException
,
Aws\CloudWatchRUM\Exception\CloudWatchRUMException
,
Aws\CodeArtifact\Exception\CodeArtifactException
,
Aws\AmplifyUIBuilder\Exception\AmplifyUIBuilderException
,
Aws\CodeBuild\Exception\CodeBuildException
,
Aws\CodeCatalyst\Exception\CodeCatalystException
,
Aws\CodeCommit\Exception\CodeCommitException
,
Aws\CodeDeploy\Exception\CodeDeployException
,
Aws\CodeGuruProfiler\Exception\CodeGuruProfilerException
,
Aws\CodeGuruReviewer\Exception\CodeGuruReviewerException
,
Aws\CodeGuruSecurity\Exception\CodeGuruSecurityException
,
Aws\CodePipeline\Exception\CodePipelineException
,
Aws\CodeStar\Exception\CodeStarException
,
Aws\CodeStarconnections\Exception\CodeStarconnectionsException
,
Aws\ApiGateway\Exception\ApiGatewayException
,
Aws\CodeStarNotifications\Exception\CodeStarNotificationsException
,
Aws\CognitoIdentity\Exception\CognitoIdentityException
,
Aws\CognitoIdentityProvider\Exception\CognitoIdentityProviderException
,
Aws\CognitoSync\Exception\CognitoSyncException
,
Aws\Comprehend\Exception\ComprehendException
,
Aws\ComprehendMedical\Exception\ComprehendMedicalException
,
Aws\ComputeOptimizer\Exception\ComputeOptimizerException
,
Aws\ConfigService\Exception\ConfigServiceException
,
Aws\Connect\Exception\ConnectException
,
Aws\ConnectCampaignService\Exception\ConnectCampaignServiceException
,
Aws\ApiGatewayManagementApi\Exception\ApiGatewayManagementApiException
,
Aws\ConnectCases\Exception\ConnectCasesException
,
Aws\ConnectContactLens\Exception\ConnectContactLensException
,
Aws\ConnectParticipant\Exception\ConnectParticipantException
,
Aws\ConnectWisdomService\Exception\ConnectWisdomServiceException
,
Aws\ControlTower\Exception\ControlTowerException
,
Aws\CostandUsageReportService\Exception\CostandUsageReportServiceException
,
Aws\CostExplorer\Exception\CostExplorerException
,
Aws\CostOptimizationHub\Exception\CostOptimizationHubException
,
Aws\CustomerProfiles\Exception\CustomerProfilesException
,
Aws\DatabaseMigrationService\Exception\DatabaseMigrationServiceException
Indirect known subclasses
Methods Summary
- __construct ( string $message, Aws\CommandInterface $command, array $context = [], Exception $previous = null )
- __toString ( )
-
getCommand ( )
Get the command that was executed.
-
getAwsErrorMessage ( )
Get the concise error message if any.
-
getRequest ( )
Get the sent HTTP request if any.
-
getResponse ( )
Get the received HTTP response if any.
-
getResult ( )
Get the result of the exception if available
-
isConnectionError ( )
Returns true if this is a connection error.
-
getStatusCode ( )
If available, gets the HTTP status code of the corresponding response
-
getAwsRequestId ( )
Get the request ID of the error. This value is only present if a response was received and is not present in the event of a networking error.
-
getAwsErrorType ( )
Get the AWS error type.
-
getAwsErrorCode ( )
Get the AWS error code.
-
getAwsErrorShape ( )
Get the AWS error shape.
-
getTransferInfo ( string $name = null )
Get all transfer information as an associative array if no $name argument is supplied, or gets a specific transfer statistic if a $name attribute is supplied (e.g., 'retries_attempted').
-
setTransferInfo ( array $info )
Replace the transfer information associated with an exception.
-
isMaxRetriesExceeded ( )
Returns whether the max number of retries is exceeded.
-
setMaxRetriesExceeded ( )
Sets the flag for max number of retries exceeded.
- hasKey ( $name )
- get ( $key )
- search ( $expression )
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from Aws\MonitoringEventsInterface
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Methods Details
__construct (
string
$message,
Aws\CommandInterface
$command,
array
$context = [],
Exception
$previous = null
)
Parameters
string | $message | Exception message |
Aws\CommandInterface |
$command | |
array | $context = [] | Exception context |
Exception | $previous = null | Previous exception (if any) |
Overrides
Exception::__construct
__toString ( )
Overrides
Exception::__toString
Aws\CommandInterface
getCommand (
)
string|null getAwsErrorMessage ( )
Get the concise error message if any.
Returns
string|null |
Psr\Http\Message\RequestInterface
|null
getRequest (
)
Psr\Http\Message\ResponseInterface
|null
getResponse (
)
Get the received HTTP response if any.
Returns
Psr\Http\Message\ResponseInterface |null |
Implementation of
Aws\ResultInterface
|null
getResult (
)
boolean isConnectionError ( )
Returns true if this is a connection error.
Returns
boolean |
integer|null getStatusCode ( )
If available, gets the HTTP status code of the corresponding response
Returns
integer|null |
string|null getAwsRequestId ( )
Get the request ID of the error. This value is only present if a response was received and is not present in the event of a networking error.
Returns
string|null Returns null if no response was received |
string|null getAwsErrorType ( )
Get the AWS error type.
Returns
string|null Returns null if no response was received |
string|null getAwsErrorCode ( )
Get the AWS error code.
Returns
string|null Returns null if no response was received |
Aws\Api\Shape
|null
getAwsErrorShape (
)
mixed|null|array getTransferInfo ( string $name = null )
Get all transfer information as an associative array if no $name argument is supplied, or gets a specific transfer statistic if a $name attribute is supplied (e.g., 'retries_attempted').
Parameters
string | $name = null | Name of the transfer stat to retrieve |
Returns
mixed|null|array |
setTransferInfo ( array $info )
Replace the transfer information associated with an exception.
Parameters
array | $info |
boolean isMaxRetriesExceeded ( )
Returns whether the max number of retries is exceeded.
Returns
boolean |
setMaxRetriesExceeded ( )
Sets the flag for max number of retries exceeded.