Wrap wraps an error with an additional message.
(err error, msg string)
| 71 | |
| 72 | // Wrap wraps an error with an additional message. |
| 73 | func Wrap(err error, msg string) error { |
| 74 | return newWrappedError(err, msg) |
| 75 | } |
| 76 | |
| 77 | // Wrapf wraps an error with an additional formatted message. |
| 78 | func Wrapf(err error, format string, args ...interface{}) error { |
no test coverage detected