Record an error.
(&mut self, path: String, error: String)
| 709 | |
| 710 | /// Record an error. |
| 711 | pub fn record_error(&mut self, path: String, error: String) { |
| 712 | self.errors.push((path, error)); |
| 713 | } |
| 714 | |
| 715 | /// Check if any errors occurred. |
| 716 | pub fn has_errors(&self) -> bool { |