AssertionFailedf creates an internal error. Detail is shown: - via `errors.GetSafeDetails()`, shows redacted strings. - when formatting with `%+v`. - in Sentry reports.
(format string, args ...interface{})
| 27 | // - when formatting with `%+v`. |
| 28 | // - in Sentry reports. |
| 29 | func AssertionFailedf(format string, args ...interface{}) error { |
| 30 | return AssertionFailedWithDepthf(1, format, args...) |
| 31 | } |
| 32 | |
| 33 | // AssertionFailedWithDepthf creates an internal error |
| 34 | // with a stack trace collected at the specified depth. |
no test coverage detected
searching dependent graphs…