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]
impl GetLexiconError
pub fn from_body(body: &str) -> GetLexiconError
[src]
pub fn from_body(body: &str) -> GetLexiconError
Trait Implementations
impl Debug for GetLexiconError
[src]
impl Debug for GetLexiconError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for GetLexiconError
[src]
impl PartialEq for GetLexiconError
fn eq(&self, other: &GetLexiconError) -> bool
[src]
fn eq(&self, other: &GetLexiconError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetLexiconError) -> bool
[src]
fn ne(&self, other: &GetLexiconError) -> bool
This method tests for !=
.
impl From<Error> for GetLexiconError
[src]
impl From<Error> for GetLexiconError
fn from(err: Error) -> GetLexiconError
[src]
fn from(err: Error) -> GetLexiconError
Performs the conversion.
impl From<CredentialsError> for GetLexiconError
[src]
impl From<CredentialsError> for GetLexiconError
fn from(err: CredentialsError) -> GetLexiconError
[src]
fn from(err: CredentialsError) -> GetLexiconError
Performs the conversion.
impl From<HttpDispatchError> for GetLexiconError
[src]
impl From<HttpDispatchError> for GetLexiconError
fn from(err: HttpDispatchError) -> GetLexiconError
[src]
fn from(err: HttpDispatchError) -> GetLexiconError
Performs the conversion.
impl From<Error> for GetLexiconError
[src]
impl From<Error> for GetLexiconError
fn from(err: Error) -> GetLexiconError
[src]
fn from(err: Error) -> GetLexiconError
Performs the conversion.
impl Display for GetLexiconError
[src]
impl Display for GetLexiconError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for GetLexiconError
[src]
impl Error for GetLexiconError
Auto Trait Implementations
impl Send for GetLexiconError
impl Send for GetLexiconError
impl Sync for GetLexiconError
impl Sync for GetLexiconError