(self)
| 460 | /// Converts this `Report` to an [`Error`]. |
| 461 | #[must_use] |
| 462 | pub fn into_error(self) -> impl Error + Send + Sync + 'static |
| 463 | where |
| 464 | C: 'static, |
| 465 | { |
| 466 | crate::error::ReportError::new(self) |
| 467 | } |
| 468 | |
| 469 | /// Returns this `Report` as an [`Error`]. |
| 470 | #[must_use] |