MCPcopy 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
20func nestedErrorList(i int) error {
21 return errors.Join(
22 normalErr(i),
23 wrapNormalErr(i+1),
24 )
25}
26
27func Example_tree() {
28 errs := errtrace.Wrap(errors.Join(

Callers 1

Example_treeFunction · 0.85

Calls 2

normalErrFunction · 0.85
wrapNormalErrFunction · 0.85

Tested by

no test coverage detected