#[non_exhaustive]
pub enum SendCustomVerificationEmailErrorKind {
ConfigurationSetDoesNotExistException(ConfigurationSetDoesNotExistException),
CustomVerificationEmailTemplateDoesNotExistException(CustomVerificationEmailTemplateDoesNotExistException),
FromEmailAddressNotVerifiedException(FromEmailAddressNotVerifiedException),
MessageRejected(MessageRejected),
ProductionAccessNotGrantedException(ProductionAccessNotGrantedException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the SendCustomVerificationEmail
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ConfigurationSetDoesNotExistException(ConfigurationSetDoesNotExistException)
Indicates that the configuration set does not exist.
CustomVerificationEmailTemplateDoesNotExistException(CustomVerificationEmailTemplateDoesNotExistException)
Indicates that a custom verification email template with the name you specified does not exist.
FromEmailAddressNotVerifiedException(FromEmailAddressNotVerifiedException)
Indicates that the sender address specified for a custom verification email is not verified, and is therefore not eligible to send the custom verification email.
MessageRejected(MessageRejected)
Indicates that the action failed, and the message could not be sent. Check the error stack for more information about what caused the error.
ProductionAccessNotGrantedException(ProductionAccessNotGrantedException)
Indicates that the account has not been granted production access.
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.