Shorthand: attach an operation name.
(mut self, op: ErrorOp)
| 175 | |
| 176 | /// Shorthand: attach an operation name. |
| 177 | pub fn with_op(mut self, op: ErrorOp) -> Self { |
| 178 | self.ctx.get_or_insert_with(ErrorContext::default).op = Some(op); |
| 179 | self |
| 180 | } |
| 181 | |
| 182 | /// Shorthand: attach a file path. |
| 183 | pub fn with_path(mut self, path: impl Into<PathBuf>) -> Self { |
no outgoing calls
no test coverage detected