Trait raws_error::AwsError

source ·
pub trait AwsError: Error + 'static {
    type DisplayErrorContext<'a>;

    // Required methods
    fn error_context(&self) -> Self::DisplayErrorContext<'_>;
    fn meta(&self) -> &ErrorMetadata;

    // Provided methods
    fn code(&self) -> Option<&str> { ... }
    fn message(&self) -> Option<&str> { ... }
}

Required Associated Types§

Required Methods§

Provided Methods§

source

fn code(&self) -> Option<&str>

source

fn message(&self) -> Option<&str>

Object Safety§

This trait is not object safe.

Implementors§