Errorf aliases Newf().
(format string, args ...interface{})
| 68 | |
| 69 | // Errorf aliases Newf(). |
| 70 | func Errorf(format string, args ...interface{}) error { |
| 71 | return errutil.NewWithDepthf(1, format, args...) |
| 72 | } |
| 73 | |
| 74 | // Cause aliases UnwrapAll() for compatibility with github.com/pkg/errors. |
| 75 | func Cause(err error) error { return errbase.UnwrapAll(err) } |
nothing calls this directly
no test coverage detected
searching dependent graphs…