[][src]Enum rusoto_core::RusotoError

pub enum RusotoError<E> {
    Service(E),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    ParseError(String),
    Unknown(BufferedHttpResponse),
}

Generic error type returned by all rusoto requests.

Variants

Service(E)

A service-specific error occurred.

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.

ParseError(String)

An error occurred parsing the response payload.

Unknown(BufferedHttpResponse)

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

Trait Implementations

impl<E> From<Error> for RusotoError<E>[src]

impl<E> From<CredentialsError> for RusotoError<E>[src]

impl<E> From<HttpDispatchError> for RusotoError<E>[src]

impl<E> From<Error> for RusotoError<E>[src]

impl<E: PartialEq> PartialEq<RusotoError<E>> for RusotoError<E>[src]

impl<E: Debug> Debug for RusotoError<E>[src]

impl<E: Error + 'static> Display for RusotoError<E>[src]

impl<E: Error + 'static> Error for RusotoError<E>[src]

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

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

fn type_id(&self) -> TypeId where
    Self: 'static, 
1.34.0[src]

Gets the TypeId of self

Auto Trait Implementations

impl<E> Send for RusotoError<E> where
    E: Send

impl<E> Sync for RusotoError<E> where
    E: Sync

Blanket Implementations

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

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

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

impl<T> Erased for T

impl<T> Same<T> for T

type Output = T

Should always be Self