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

Method NotErrorIsf

internal/testify/assert/assertion_forward.go:1214–1219  ·  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.

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

Source from the content-addressed store, hash-verified

1212// NotErrorIsf asserts that at none of the errors in err's chain matches target.
1213// This is a wrapper for errors.Is.
1214func (a *Assertions) NotErrorIsf(err error, target error, msg string, args ...interface{}) bool {
1215 if h, ok := a.t.(tHelper); ok {
1216 h.Helper()
1217 }
1218 return NotErrorIsf(a.t, err, target, msg, args...)
1219}
1220
1221// NotImplements asserts that an object does not implement the specified interface.
1222//

Callers

nothing calls this directly

Calls 2

NotErrorIsfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected