Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bracesdev/errtrace
/ nestedErrorList
Function
nestedErrorList
example_tree_test.go:20–25 ·
view source on GitHub ↗
(i int)
Source
from the content-addressed store, hash-verified
18
}
19
20
func
nestedErrorList(i int) error {
21
return
errors.Join(
22
normalErr(i),
23
wrapNormalErr(i+1),
24
)
25
}
26
27
func
Example_tree() {
28
errs := errtrace.Wrap(errors.Join(
Callers
1
Example_tree
Function · 0.85
Calls
2
normalErr
Function · 0.85
wrapNormalErr
Function · 0.85
Tested by
no test coverage detected