Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ f4
Function
f4
example/error_trace.cpp:87–94 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
85
}
86
87
leaf::result<void> f4()
88
{
89
ERROR_TRACE;
90
if( (std::rand()%100) > failure_percent )
91
return f3();
92
else
93
return leaf::new_error();
94
}
95
96
leaf::result<void> f5()
97
{
Callers
1
f5
Function · 0.70
Calls
2
new_error
Function · 0.85
f3
Function · 0.70
Tested by
no test coverage detected