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

Function io_error

libs/error-stack/tests/test_conversion.rs:12–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10use error_stack::{FrameKind, Report, ResultExt as _};
11
12fn io_error() -> Result<(), io::Error> {
13 Err(io::Error::from(io::ErrorKind::Other))
14}
15
16#[derive(Debug)]
17struct OuterError {

Callers 3

reportFunction · 0.85
into_reportFunction · 0.85
returning_boxed_errorFunction · 0.85

Calls 2

ErrInterface · 0.85
fromFunction · 0.50

Tested by

no test coverage detected