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{})
| 1291 | // NotErrorIs asserts that none of the errors in err's chain matches target. |
| 1292 | // This is a wrapper for errors.Is. |
| 1293 | func (a *Assertions) NotErrorIs(err error, target error, msgAndArgs ...interface{}) bool { |
| 1294 | if h, ok := a.t.(tHelper); ok { |
| 1295 | h.Helper() |
| 1296 | } |
| 1297 | return NotErrorIs(a.t, err, target, msgAndArgs...) |
| 1298 | } |
| 1299 | |
| 1300 | // NotErrorIsf asserts that none of the errors in err's chain matches target. |
| 1301 | // This is a wrapper for errors.Is. |
nothing calls this directly
no test coverage detected