Record an error.
(&mut self, path: String, error: String)
| 714 | |
| 715 | /// Record an error. |
| 716 | pub fn record_error(&mut self, path: String, error: String) { |
| 717 | self.errors.push((path, error)); |
| 718 | } |
| 719 | |
| 720 | /// Check if any errors occurred. |
| 721 | pub fn has_errors(&self) -> bool { |