Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
69
leaf::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
78
leaf::result<void> f3()
79
{
Callers
1
f3
Function · 0.70
Calls
2
new_error
Function · 0.85
f1
Function · 0.70
Tested by
no test coverage detected