MCPcopy Create free account
hub / github.com/stretchr/testify / NotErrorIsf

Method NotErrorIsf

assert/assertion_forward.go:1266–1271  ·  view source on GitHub ↗

NotErrorIsf asserts that 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

1264// NotErrorIsf asserts that none of the errors in err's chain matches target.
1265// This is a wrapper for errors.Is.
1266func (a *Assertions) NotErrorIsf(err error, target error, msg string, args ...interface{}) bool {
1267 if h, ok := a.t.(tHelper); ok {
1268 h.Helper()
1269 }
1270 return NotErrorIsf(a.t, err, target, msg, args...)
1271}
1272
1273// NotImplements asserts that an object does not implement the specified interface.
1274//

Callers

nothing calls this directly

Calls 2

NotErrorIsfFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected