Enum rusoto_polly::GetLexiconError
[−]
[src]
pub enum GetLexiconError { LexiconNotFound(String), ServiceFailure(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetLexicon
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 GetLexiconError
[src]
pub fn from_body(body: &str) -> GetLexiconError
[src]
Trait Implementations
impl Debug for GetLexiconError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for GetLexiconError
[src]
fn eq(&self, __arg_0: &GetLexiconError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetLexiconError) -> bool
[src]
This method tests for !=
.
impl From<Error> for GetLexiconError
[src]
fn from(err: Error) -> GetLexiconError
[src]
Performs the conversion.
impl From<CredentialsError> for GetLexiconError
[src]
fn from(err: CredentialsError) -> GetLexiconError
[src]
Performs the conversion.
impl From<HttpDispatchError> for GetLexiconError
[src]
fn from(err: HttpDispatchError) -> GetLexiconError
[src]
Performs the conversion.
impl From<Error> for GetLexiconError
[src]
fn from(err: Error) -> GetLexiconError
[src]
Performs the conversion.
impl Display for GetLexiconError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more