#[non_exhaustive]
pub enum CreateTemplateErrorKind {
AlreadyExistsException(AlreadyExistsException),
InvalidTemplateException(InvalidTemplateException),
LimitExceededException(LimitExceededException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the CreateTemplate
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AlreadyExistsException(AlreadyExistsException)
Indicates that a resource could not be created because of a naming conflict.
InvalidTemplateException(InvalidTemplateException)
Indicates that the template that you specified could not be rendered. This issue may occur when a template refers to a partial that does not exist.
LimitExceededException(LimitExceededException)
Indicates that a resource could not be created because of service limits. For a list of Amazon SES limits, see the Amazon SES Developer Guide.
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.