NewAssertionErrorWithWrappedErrf wraps an error and turns it into an assertion error. Both details from the original error and the context of the caller are preserved. The original error is not visible as cause any more. The original error message is preserved. See the doc of `AssertionFailedf()` fo
(origErr error, format string, args ...interface{})
| 169 | // visible as cause any more. The original error message is preserved. |
| 170 | // See the doc of `AssertionFailedf()` for more details. |
| 171 | func NewAssertionErrorWithWrappedErrf(origErr error, format string, args ...interface{}) error { |
| 172 | return errutil.NewAssertionErrorWithWrappedErrDepthf(1, origErr, format, args...) |
| 173 | } |
| 174 | |
| 175 | // HandleAsAssertionFailure hides an error and turns it into |
| 176 | // an assertion failure. Both details from the original error and the |
nothing calls this directly
no test coverage detected
searching dependent graphs…