MCPcopy Index your code
hub / github.com/expr-lang/expr / NotErrorIsf

Function NotErrorIsf

internal/testify/assert/assertion_format.go:609–614  ·  view source on GitHub ↗

NotErrorIsf asserts that at none of the errors in err's chain matches target. This is a wrapper for errors.Is.

(t TestingT, err error, target error, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

607// NotErrorIsf asserts that at none of the errors in err's chain matches target.
608// This is a wrapper for errors.Is.
609func NotErrorIsf(t TestingT, err error, target error, msg string, args ...interface{}) bool {
610 if h, ok := t.(tHelper); ok {
611 h.Helper()
612 }
613 return NotErrorIs(t, err, target, append([]interface{}{msg}, args...)...)
614}
615
616// NotImplementsf asserts that an object does not implement the specified interface.
617//

Callers 2

NotErrorIsfFunction · 0.92
NotErrorIsfMethod · 0.70

Calls 2

NotErrorIsFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…