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