WithAssertionFailure decorates the error with an assertion failure marker. This is not intended to be used directly (see AssertionFailed() for further decoration). Detail is shown: - when formatting with `%+v`. - in Sentry reports.
(err error)
| 24 | // - when formatting with `%+v`. |
| 25 | // - in Sentry reports. |
| 26 | func WithAssertionFailure(err error) error { return assert.WithAssertionFailure(err) } |
| 27 | |
| 28 | // HasAssertionFailure returns true if the error or any of its causes |
| 29 | // is an assertion failure annotation. |
nothing calls this directly
no test coverage detected
searching dependent graphs…