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

Method NotErrorIsf

internal/testify/require/require_forward.go:1216–1221  ·  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

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

Callers

nothing calls this directly

Calls 2

NotErrorIsfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected