NewWithDepthf is like Newf() except the depth to capture the stack trace is configurable. See the doc of `New()` for more details.
(depth int, format string, args ...interface{})
| 63 | // trace is configurable. |
| 64 | // See the doc of `New()` for more details. |
| 65 | func NewWithDepthf(depth int, format string, args ...interface{}) error { |
| 66 | return errutil.NewWithDepthf(depth+1, format, args...) |
| 67 | } |
| 68 | |
| 69 | // Errorf aliases Newf(). |
| 70 | func Errorf(format string, args ...interface{}) error { |
nothing calls this directly
no test coverage detected
searching dependent graphs…