error_support

Trait GetErrorHandling

source
pub trait GetErrorHandling {
    type ExternalError;

    // Required method
    fn get_error_handling(&self) -> ErrorHandling<Self::ExternalError>;
}
Expand description

A trait to define how errors are converted and reported.

Required Associated Types§

Required Methods§

source

fn get_error_handling(&self) -> ErrorHandling<Self::ExternalError>

Return how to handle our internal errors

Implementors§