MCPcopy
hub / github.com/lxn/walk / wrapErr

Function wrapErr

error.go:104–110  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

102}
103
104func wrapErr(err error) error {
105 if _, ok := err.(*Error); ok {
106 return err
107 }
108
109 return &Error{inner: err, stack: debug.Stack()}
110}
111
112func wrapErrorNoPanic(err error) error {
113 return processErrorNoPanic(wrapErr(err))

Callers 2

wrapErrorNoPanicFunction · 0.85
wrapErrorFunction · 0.85

Calls 1

StackMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…