Enum aws_sdk_polly::error::DeleteLexiconErrorKind [−][src]
#[non_exhaustive]
pub enum DeleteLexiconErrorKind {
LexiconNotFoundException(LexiconNotFoundException),
ServiceFailureException(ServiceFailureException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the DeleteLexicon operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LexiconNotFoundException(LexiconNotFoundException)
Tuple Fields
Amazon Polly can't find the specified lexicon. This could be caused by a lexicon that is missing, its name is misspelled or specifying a lexicon that is in a different region.
Verify that the lexicon exists, is in the region (see ListLexicons) and that you spelled its name is spelled correctly. Then try again.
ServiceFailureException(ServiceFailureException)
Tuple Fields
An unknown condition has caused a service failure.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DeleteLexiconErrorKind
impl Send for DeleteLexiconErrorKind
impl Sync for DeleteLexiconErrorKind
impl Unpin for DeleteLexiconErrorKind
impl !UnwindSafe for DeleteLexiconErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
