pub fn handle_generic_error(e: impl Into<Report>) -> Error