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{})
| 1203 | // NotErrorIs asserts that at none of the errors in err's chain matches target. |
| 1204 | // This is a wrapper for errors.Is. |
| 1205 | func (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. |
nothing calls this directly
no test coverage detected