Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ f5
Function
f5
example/error_trace.cpp:96–103 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
94
}
95
96
leaf::result<void> f5()
97
{
98
ERROR_TRACE;
99
if( (std::rand()%100) > failure_percent )
100
return f4();
101
else
102
return leaf::new_error();
103
}
104
105
int main()
106
{
Callers
1
main
Function · 0.70
Calls
2
new_error
Function · 0.85
f4
Function · 0.70
Tested by
no test coverage detected