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

Function AssertionFailedWithDepthf

errutil_api.go:162–164  ·  view source on GitHub ↗

AssertionFailedWithDepthf creates an internal error with a stack trace collected at the specified depth. See the doc of `AssertionFailedf()` for more details.

(depth int, format string, args ...interface{})

Source from the content-addressed store, hash-verified

160// with a stack trace collected at the specified depth.
161// See the doc of `AssertionFailedf()` for more details.
162func AssertionFailedWithDepthf(depth int, format string, args ...interface{}) error {
163 return errutil.AssertionFailedWithDepthf(depth+1, format, args...)
164}
165
166// NewAssertionErrorWithWrappedErrf wraps an error and turns it into
167// an assertion error. Both details from the original error and the

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…