#[non_exhaustive]
pub enum TestRenderTemplateErrorKind {
InvalidRenderingParameterException(InvalidRenderingParameterException),
MissingRenderingAttributeException(MissingRenderingAttributeException),
TemplateDoesNotExistException(TemplateDoesNotExistException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the TestRenderTemplate
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidRenderingParameterException(InvalidRenderingParameterException)
Indicates that one or more of the replacement values you provided is invalid. This error may occur when the TemplateData object contains invalid JSON.
MissingRenderingAttributeException(MissingRenderingAttributeException)
Indicates that one or more of the replacement values for the specified template was not specified. Ensure that the TemplateData object contains references to all of the replacement tags in the specified template.
TemplateDoesNotExistException(TemplateDoesNotExistException)
Indicates that the Template object you specified does not exist in your Amazon SES account.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.