Record an error for a path.
(&mut self, path: impl Into<String>, error: impl Into<String>)
| 251 | |
| 252 | /// Record an error for a path. |
| 253 | pub fn add_error(&mut self, path: impl Into<String>, error: impl Into<String>) { |
| 254 | self.errors.push((path.into(), error.into())); |
| 255 | } |
| 256 | |
| 257 | /// Record a skipped file. |
| 258 | pub fn add_skipped(&mut self) { |