NotErrorAsf asserts that none of the errors in err's chain matches target, but if so, sets target to that error value.
(err error, target interface{}, msg string, args ...interface{})
| 1282 | // NotErrorAsf asserts that none of the errors in err's chain matches target, |
| 1283 | // but if so, sets target to that error value. |
| 1284 | func (a *Assertions) NotErrorAsf(err error, target interface{}, msg string, args ...interface{}) bool { |
| 1285 | if h, ok := a.t.(tHelper); ok { |
| 1286 | h.Helper() |
| 1287 | } |
| 1288 | return NotErrorAsf(a.t, err, target, msg, args...) |
| 1289 | } |
| 1290 | |
| 1291 | // NotErrorIs asserts that none of the errors in err's chain matches target. |
| 1292 | // This is a wrapper for errors.Is. |
nothing calls this directly
no test coverage detected