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

Method NotErrorIs

internal/testify/assert/assertion_forward.go:1205–1210  ·  view source on GitHub ↗

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

(err error, target error, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

1203// NotErrorIs asserts that at none of the errors in err's chain matches target.
1204// This is a wrapper for errors.Is.
1205func (a *Assertions) NotErrorIs(err error, target error, msgAndArgs ...interface{}) bool {
1206 if h, ok := a.t.(tHelper); ok {
1207 h.Helper()
1208 }
1209 return NotErrorIs(a.t, err, target, msgAndArgs...)
1210}
1211
1212// NotErrorIsf asserts that at none of the errors in err's chain matches target.
1213// This is a wrapper for errors.Is.

Callers

nothing calls this directly

Calls 2

NotErrorIsFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected