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

Function IsAssertionFailure

assert_api.go:35–35  ·  view source on GitHub ↗

IsAssertionFailure returns true if the error (not its causes) is an assertion failure annotation. Consider using markers.If or HasAssertionFailure to test both the error and its causes.

(err error)

Source from the content-addressed store, hash-verified

33// assertion failure annotation. Consider using markers.If or
34// HasAssertionFailure to test both the error and its causes.
35func IsAssertionFailure(err error) bool { return assert.IsAssertionFailure(err) }

Callers

nothing calls this directly

Calls 1

IsAssertionFailureFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…