pub trait ResultExt<T> {
// Required methods
fn with_file_context(self, file: &str) -> Result<T>;
fn with_row_context(self, file: &str, row: usize) -> Result<T>;
fn with_cell_context(self, file: &str, row: usize, col: usize) -> Result<T>;
}Expand description
Extension trait for adding context to anyhow errors