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

Function processErrorNoPanic

error.go:58–68  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

56}
57
58func processErrorNoPanic(err error) error {
59 if logErrors {
60 if walkErr, ok := err.(*Error); ok {
61 log.Print(walkErr.Error())
62 } else {
63 log.Printf("%s\n\nStack:\n%s", err, debug.Stack())
64 }
65 }
66
67 return err
68}
69
70func processError(err error) error {
71 processErrorNoPanic(err)

Callers 3

processErrorFunction · 0.85
newErrorNoPanicFunction · 0.85
wrapErrorNoPanicFunction · 0.85

Calls 3

PrintMethod · 0.80
StackMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…