(err error)
| 102 | } |
| 103 | |
| 104 | func 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 | |
| 112 | func wrapErrorNoPanic(err error) error { |
| 113 | return processErrorNoPanic(wrapErr(err)) |
no test coverage detected
searching dependent graphs…