NotErrorIs asserts that none of the errors in err's chain matches target. This is a wrapper for errors.Is.
(err error, target error, msgAndArgs ...interface{})
| 1255 | // NotErrorIs asserts that none of the errors in err's chain matches target. |
| 1256 | // This is a wrapper for errors.Is. |
| 1257 | func (a *Assertions) NotErrorIs(err error, target error, msgAndArgs ...interface{}) bool { |
| 1258 | if h, ok := a.t.(tHelper); ok { |
| 1259 | h.Helper() |
| 1260 | } |
| 1261 | return NotErrorIs(a.t, err, target, msgAndArgs...) |
| 1262 | } |
| 1263 | |
| 1264 | // NotErrorIsf asserts that none of the errors in err's chain matches target. |
| 1265 | // This is a wrapper for errors.Is. |
nothing calls this directly
no test coverage detected