MCPcopy Create free account
hub / github.com/boostorg/leaf / f2

Function f2

example/error_trace.cpp:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69leaf::result<void> f2()
70{
71 ERROR_TRACE;
72 if( (std::rand()%100) > failure_percent )
73 return f1();
74 else
75 return leaf::new_error();
76}
77
78leaf::result<void> f3()
79{

Callers 1

f3Function · 0.70

Calls 2

new_errorFunction · 0.85
f1Function · 0.70

Tested by

no test coverage detected