MCPcopy Index your code
hub / github.com/bracesdev/errtrace / f3Wrap

Function f3Wrap

example_errhelper_test.go:19–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19func f3Wrap() error {
20 return wrap(errors.New("failed"), "foo")
21}
22
23func wrap(err error, fields ...string) error {
24 return errtrace.GetCaller().

Callers 1

f2WrapFunction · 0.85

Calls 1

wrapFunction · 0.70

Tested by

no test coverage detected