pub trait CreateUnhandledError {
    // Required method
    fn create_unhandled_error(
        source: Box<dyn Error + Send + Sync + 'static>
    ) -> Self;
}
Expand description

Constructs the unhandled variant of a code generated error.

This trait exists so that SdkError::into_service_error can be infallible.

Required Methods§

source

fn create_unhandled_error( source: Box<dyn Error + Send + Sync + 'static> ) -> Self

Creates an unhandled error variant with the given source.

Implementors§