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

Method NotErrorIs

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

1205// NotErrorIs asserts that at none of the errors in err's chain matches target.
1206// This is a wrapper for errors.Is.
1207func (a *Assertions) NotErrorIs(err error, target error, msgAndArgs ...interface{}) {
1208 if h, ok := a.t.(tHelper); ok {
1209 h.Helper()
1210 }
1211 NotErrorIs(a.t, err, target, msgAndArgs...)
1212}
1213
1214// NotErrorIsf asserts that at none of the errors in err's chain matches target.
1215// 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