Trait BackendErrorExt

Source
pub trait BackendErrorExt {
    // Required method
    fn backend_error(self, context: &str) -> CommonError;
}
Expand description

Extension trait for backend error handling

Required Methods§

Source

fn backend_error(self, context: &str) -> CommonError

Convert any error to a backend-friendly error

Implementors§

Source§

impl<E> BackendErrorExt for E
where E: Error,