MCPcopy Index your code
hub / github.com/cockroachdb/errors / AssertionFailedf

Function AssertionFailedf

errutil_api.go:155–157  ·  view source on GitHub ↗

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{})

Source from the content-addressed store, hash-verified

153// - when formatting with `%+v`.
154// - in Sentry reports.
155func AssertionFailedf(format string, args ...interface{}) error {
156 return errutil.AssertionFailedWithDepthf(1, format, args...)
157}
158
159// AssertionFailedWithDepthf creates an internal error
160// with a stack trace collected at the specified depth.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…