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

Function create_error

libs/error-stack/tests/common.rs:172–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170}
171
172pub fn create_error() -> Result<(), Report<RootError>> {
173 Err(create_report())
174}
175
176pub fn create_future() -> impl Future<Output = Result<(), Report<RootError>>> {
177 futures::future::err(create_report())

Callers 5

func_bFunction · 0.85
func_bFunction · 0.85
attach_resultFunction · 0.85
attach_resultFunction · 0.85
attach_resultFunction · 0.85

Calls 2

ErrInterface · 0.85
create_reportFunction · 0.70

Tested by

no test coverage detected