(&self)
| 204 | /// and non-fatal otherwise. |
| 205 | #[inline] |
| 206 | pub fn as_result(&self) -> VerifierStepResult { |
| 207 | if self.is_empty() { Ok(()) } else { Err(()) } |
| 208 | } |
| 209 | |
| 210 | /// Report an error, adding it to the list of errors. |
| 211 | pub fn report(&mut self, error: impl Into<VerifierError>) { |
no test coverage detected