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§
type ExternalError
Required Methods§
sourcefn get_error_handling(&self) -> ErrorHandling<Self::ExternalError>
fn get_error_handling(&self) -> ErrorHandling<Self::ExternalError>
Return how to handle our internal errors