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

Function error_with_sources

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

Source from the content-addressed store, hash-verified

48}
49
50fn error_with_sources() -> Result<(), OuterError> {
51 Err(OuterError {
52 inner: InnerError {
53 inner: io::Error::from(io::ErrorKind::Other),
54 },
55 })
56}
57
58#[test]
59fn report() {

Callers 1

errorFunction · 0.85

Calls 2

ErrInterface · 0.85
fromFunction · 0.50

Tested by

no test coverage detected