Errorf formats according to a format specifier and returns the string as a value that satisfies error. Errorf also records the stack trace at the point it was called.
(format string, args ...interface{})
| 66 | // as a value that satisfies error. |
| 67 | // Errorf also records the stack trace at the point it was called. |
| 68 | func Errorf(format string, args ...interface{}) error { |
| 69 | return errors.Errorf(format, args...) |
| 70 | } |
| 71 | |
| 72 | // Wrap wraps an error with an additional message. |
| 73 | func Wrap(err error, msg string) error { |
no test coverage detected