Unwrap an errWithType gives the underlying Err
()
| 73 | |
| 74 | // Unwrap an errWithType gives the underlying Err |
| 75 | func (e *errWithType) Unwrap() error { |
| 76 | return e.error |
| 77 | } |
| 78 | |
| 79 | func wrapErrorWithMsg(err error, msg string) error { |
| 80 | if err == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected