[][src]Enum rusoto_translate::TranslateTextError

pub enum TranslateTextError {
    DetectedLanguageLowConfidence(String),
    InternalServer(String),
    InvalidRequest(String),
    ServiceUnavailable(String),
    TextSizeLimitExceeded(String),
    TooManyRequests(String),
    UnsupportedLanguagePair(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    ParseError(String),
    Unknown(BufferedHttpResponse),
}

Errors returned by TranslateText

Variants

The confidence that Amazon Comprehend accurately detected the source language is low. If a low confidence level is acceptable for your application, you can use the language in the exception to call Amazon Translate again. For more information, see the DetectDominantLanguage operation in the Amazon Comprehend Developer Guide.

An internal server error occurred. Retry your request.

The request is invalid.

Amazon Translate is unavailable. Retry your request later.

The size of the input text exceeds the length constraint for the Text field. Try again with a shorter text.

The number of requests exceeds the limit. Resubmit your request later.

Amazon Translate cannot translate input text in the source language into this target language. For more information, see how-to-error-msg.

An error occurred dispatching the HTTP request

An error was encountered with AWS credentials.

A validation error occurred. Details from AWS are provided.

An error occurred parsing the response payload.

An unknown error occurred. The raw HTTP response is provided.

Methods

impl TranslateTextError
[src]

Trait Implementations

impl From<Error> for TranslateTextError
[src]

impl From<CredentialsError> for TranslateTextError
[src]

impl From<HttpDispatchError> for TranslateTextError
[src]

impl From<Error> for TranslateTextError
[src]

impl PartialEq<TranslateTextError> for TranslateTextError
[src]

impl Debug for TranslateTextError
[src]

impl Display for TranslateTextError
[src]

impl Error for TranslateTextError
[src]

Deprecating in 1.33.0

: replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

The lower-level source of this error, if any. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

Should always be Self

impl<T> Erased for T