MCPcopy Create free account
hub / github.com/hashintel/hash / into_error

Method into_error

libs/error-stack/src/report.rs:462–467  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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]

Callers 2

fromMethod · 0.80
errorFunction · 0.80

Calls

no outgoing calls

Tested by 1

errorFunction · 0.64