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

Method branch

libs/error-stack/src/sink.rs:386–392  ·  view source on GitHub ↗
(mut self)

Source from the content-addressed store, hash-verified

384 }
385
386 fn branch(mut self) -> core::ops::ControlFlow<Self::Residual, Self::Output> {
387 self.bomb.defuse();
388 self.report.map_or(
389 core::ops::ControlFlow::Continue(()), //
390 |report| core::ops::ControlFlow::Break(Err(report)),
391 )
392 }
393}
394
395#[cfg(test)]

Callers 2

beef_try_mapFunction · 0.80
beef_try_scanFunction · 0.80

Calls 2

ErrInterface · 0.85
defuseMethod · 0.80

Tested by

no test coverage detected