Enum rusoto_polly::DeleteLexiconError
[−]
[src]
pub enum DeleteLexiconError { LexiconNotFound(String), ServiceFailure(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by DeleteLexicon
Variants
LexiconNotFound(String)
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.
ServiceFailure(String)
An unknown condition has caused a service failure.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl DeleteLexiconError
[src]
fn from_body(body: &str) -> DeleteLexiconError
[src]
Trait Implementations
impl Debug for DeleteLexiconError
[src]
impl PartialEq for DeleteLexiconError
[src]
fn eq(&self, __arg_0: &DeleteLexiconError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DeleteLexiconError) -> bool
[src]
This method tests for !=
.
impl From<Error> for DeleteLexiconError
[src]
fn from(err: Error) -> DeleteLexiconError
[src]
Performs the conversion.
impl From<CredentialsError> for DeleteLexiconError
[src]
fn from(err: CredentialsError) -> DeleteLexiconError
[src]
Performs the conversion.
impl From<HttpDispatchError> for DeleteLexiconError
[src]
fn from(err: HttpDispatchError) -> DeleteLexiconError
[src]
Performs the conversion.
impl From<Error> for DeleteLexiconError
[src]
fn from(err: Error) -> DeleteLexiconError
[src]
Performs the conversion.
impl Display for DeleteLexiconError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more