Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ f3
Function
f3
example/error_trace.cpp:78–85 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
}
77
78
leaf::result<void> f3()
79
{
80
ERROR_TRACE;
81
if( (std::rand()%100) > failure_percent )
82
return f2();
83
else
84
return leaf::new_error();
85
}
86
87
leaf::result<void> f4()
88
{
Callers
1
f4
Function · 0.70
Calls
2
new_error
Function · 0.85
f2
Function · 0.70
Tested by
no test coverage detected