WrapWithDepthf is like Wrapf except the depth to capture the stack trace is configurable. The the doc of `Wrapf()` for more details.
(depth int, err error, format string, args ...interface{})
| 143 | // trace is configurable. |
| 144 | // The the doc of `Wrapf()` for more details. |
| 145 | func WrapWithDepthf(depth int, err error, format string, args ...interface{}) error { |
| 146 | return errutil.WrapWithDepthf(depth+1, err, format, args...) |
| 147 | } |
| 148 | |
| 149 | // AssertionFailedf creates an internal error. |
| 150 | // |
no test coverage detected
searching dependent graphs…