Module: Aws::SES::Errors
- Extended by:
- Errors::DynamicErrors
- Defined in:
- lib/aws-sdk-ses/errors.rb
Overview
When SES returns an error response, the Ruby SDK constructs and raises an error. These errors all extend Aws::SES::Errors::ServiceError < Errors::ServiceError
You can rescue all SES errors using ServiceError:
begin
# do stuff
rescue Aws::SES::Errors::ServiceError
# rescues all SES API errors
end
## Request Context ServiceError objects have a #context method that returns information about the request that generated the error. See Seahorse::Client::RequestContext for more information.
## Error Classes
-
* This error class is not used. `AlreadyExists` is used during parsing instead.
-
* This error class is not used. `CannotDelete` is used during parsing instead.
-
ConfigurationSetAlreadyExistsException
* This error class is not used. `ConfigurationSetAlreadyExists` is used during parsing instead.
-
ConfigurationSetDoesNotExistException
* This error class is not used. `ConfigurationSetDoesNotExist` is used during parsing instead.
-
CustomVerificationEmailInvalidContentException
* This error class is not used. `CustomVerificationEmailInvalidContent` is used during parsing instead.
-
CustomVerificationEmailTemplateAlreadyExistsException
* This error class is not used. `CustomVerificationEmailTemplateAlreadyExists` is used during parsing instead.
-
CustomVerificationEmailTemplateDoesNotExistException
* This error class is not used. `CustomVerificationEmailTemplateDoesNotExist` is used during parsing instead.
-
EventDestinationAlreadyExistsException
* This error class is not used. `EventDestinationAlreadyExists` is used during parsing instead.
-
EventDestinationDoesNotExistException
* This error class is not used. `EventDestinationDoesNotExist` is used during parsing instead.
-
FromEmailAddressNotVerifiedException
* This error class is not used. `FromEmailAddressNotVerified` is used during parsing instead.
-
InvalidCloudWatchDestinationException
* This error class is not used. `InvalidCloudWatchDestination` is used during parsing instead.
-
InvalidConfigurationSetException
* This error class is not used. `InvalidConfigurationSet` is used during parsing instead.
-
InvalidDeliveryOptionsException
* This error class is not used. `InvalidDeliveryOptions` is used during parsing instead.
-
InvalidFirehoseDestinationException
* This error class is not used. `InvalidFirehoseDestination` is used during parsing instead.
-
InvalidLambdaFunctionException
* This error class is not used. `InvalidLambdaFunction` is used during parsing instead.
-
* This error class is not used. `InvalidPolicy` is used during parsing instead.
-
InvalidRenderingParameterException
* This error class is not used. `InvalidRenderingParameter` is used during parsing instead.
-
InvalidS3ConfigurationException
* This error class is not used. `InvalidS3Configuration` is used during parsing instead.
-
InvalidSNSDestinationException
* This error class is not used. `InvalidSNSDestination` is used during parsing instead.
-
* This error class is not used. `InvalidSnsTopic` is used during parsing instead.
-
* This error class is not used. `InvalidTemplate` is used during parsing instead.
-
InvalidTrackingOptionsException
* This error class is not used. `InvalidTrackingOptions` is used during parsing instead.
-
* This error class is not used. `LimitExceeded` is used during parsing instead.
-
MissingRenderingAttributeException
* This error class is not used. `MissingRenderingAttribute` is used during parsing instead.
-
ProductionAccessNotGrantedException
* This error class is not used. `ProductionAccessNotGranted` is used during parsing instead.
-
* This error class is not used. `RuleDoesNotExist` is used during parsing instead.
-
* This error class is not used. `RuleSetDoesNotExist` is used during parsing instead.
-
* This error class is not used. `TemplateDoesNotExist` is used during parsing instead.
Additionally, error classes are dynamically generated for service errors based on the error code if they are not defined above. Some existing error classes may use a different class name than the one documented.
Defined Under Namespace
Classes: AccountSendingPausedException, AlreadyExistsException, CannotDeleteException, ConfigurationSetAlreadyExistsException, ConfigurationSetDoesNotExistException, ConfigurationSetSendingPausedException, CustomVerificationEmailInvalidContentException, CustomVerificationEmailTemplateAlreadyExistsException, CustomVerificationEmailTemplateDoesNotExistException, EventDestinationAlreadyExistsException, EventDestinationDoesNotExistException, FromEmailAddressNotVerifiedException, InvalidCloudWatchDestinationException, InvalidConfigurationSetException, InvalidDeliveryOptionsException, InvalidFirehoseDestinationException, InvalidLambdaFunctionException, InvalidPolicyException, InvalidRenderingParameterException, InvalidS3ConfigurationException, InvalidSNSDestinationException, InvalidSnsTopicException, InvalidTemplateException, InvalidTrackingOptionsException, LimitExceededException, MailFromDomainNotVerifiedException, MessageRejected, MissingRenderingAttributeException, ProductionAccessNotGrantedException, RuleDoesNotExistException, RuleSetDoesNotExistException, TemplateDoesNotExistException, TrackingOptionsAlreadyExistsException, TrackingOptionsDoesNotExistException