Module: Aws::SES::Errors
- Defined in:
- gems/aws-sdk-ses/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
- AccountSendingPausedException
- AlreadyExistsException
- This error class is not used.
AlreadyExistsis used during parsing instead.
- This error class is not used.
- CannotDeleteException
- This error class is not used.
CannotDeleteis used during parsing instead.
- This error class is not used.
- ConfigurationSetAlreadyExistsException
- This error class is not used.
ConfigurationSetAlreadyExistsis used during parsing instead.
- This error class is not used.
- ConfigurationSetDoesNotExistException
- This error class is not used.
ConfigurationSetDoesNotExistis used during parsing instead.
- This error class is not used.
- ConfigurationSetSendingPausedException
- CustomVerificationEmailInvalidContentException
- This error class is not used.
CustomVerificationEmailInvalidContentis used during parsing instead.
- This error class is not used.
- CustomVerificationEmailTemplateAlreadyExistsException
- This error class is not used.
CustomVerificationEmailTemplateAlreadyExistsis used during parsing instead.
- This error class is not used.
- CustomVerificationEmailTemplateDoesNotExistException
- This error class is not used.
CustomVerificationEmailTemplateDoesNotExistis used during parsing instead.
- This error class is not used.
- EventDestinationAlreadyExistsException
- This error class is not used.
EventDestinationAlreadyExistsis used during parsing instead.
- This error class is not used.
- EventDestinationDoesNotExistException
- This error class is not used.
EventDestinationDoesNotExistis used during parsing instead.
- This error class is not used.
- FromEmailAddressNotVerifiedException
- This error class is not used.
FromEmailAddressNotVerifiedis used during parsing instead.
- This error class is not used.
- InvalidCloudWatchDestinationException
- This error class is not used.
InvalidCloudWatchDestinationis used during parsing instead.
- This error class is not used.
- InvalidConfigurationSetException
- This error class is not used.
InvalidConfigurationSetis used during parsing instead.
- This error class is not used.
- InvalidDeliveryOptionsException
- This error class is not used.
InvalidDeliveryOptionsis used during parsing instead.
- This error class is not used.
- InvalidFirehoseDestinationException
- This error class is not used.
InvalidFirehoseDestinationis used during parsing instead.
- This error class is not used.
- InvalidLambdaFunctionException
- This error class is not used.
InvalidLambdaFunctionis used during parsing instead.
- This error class is not used.
- InvalidPolicyException
- This error class is not used.
InvalidPolicyis used during parsing instead.
- This error class is not used.
- InvalidRenderingParameterException
- This error class is not used.
InvalidRenderingParameteris used during parsing instead.
- This error class is not used.
- InvalidS3ConfigurationException
- This error class is not used.
InvalidS3Configurationis used during parsing instead.
- This error class is not used.
- InvalidSNSDestinationException
- This error class is not used.
InvalidSNSDestinationis used during parsing instead.
- This error class is not used.
- InvalidSnsTopicException
- This error class is not used.
InvalidSnsTopicis used during parsing instead.
- This error class is not used.
- InvalidTemplateException
- This error class is not used.
InvalidTemplateis used during parsing instead.
- This error class is not used.
- InvalidTrackingOptionsException
- This error class is not used.
InvalidTrackingOptionsis used during parsing instead.
- This error class is not used.
- LimitExceededException
- This error class is not used.
LimitExceededis used during parsing instead.
- This error class is not used.
- MailFromDomainNotVerifiedException
- MessageRejected
- MissingRenderingAttributeException
- This error class is not used.
MissingRenderingAttributeis used during parsing instead.
- This error class is not used.
- ProductionAccessNotGrantedException
- This error class is not used.
ProductionAccessNotGrantedis used during parsing instead.
- This error class is not used.
- RuleDoesNotExistException
- This error class is not used.
RuleDoesNotExistis used during parsing instead.
- This error class is not used.
- RuleSetDoesNotExistException
- This error class is not used.
RuleSetDoesNotExistis used during parsing instead.
- This error class is not used.
- TemplateDoesNotExistException
- This error class is not used.
TemplateDoesNotExistis used during parsing instead.
- This error class is not used.
- TrackingOptionsAlreadyExistsException
- TrackingOptionsDoesNotExistException
Additionally, error classes are dynamically generated for service errors based on the error code if they are not defined above.
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