NotErrorAs 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{}, msgAndArgs ...interface{})
| 1273 | // NotErrorAs asserts that none of the errors in err's chain matches target, |
| 1274 | // but if so, sets target to that error value. |
| 1275 | func (a *Assertions) NotErrorAs(err error, target interface{}, msgAndArgs ...interface{}) bool { |
| 1276 | if h, ok := a.t.(tHelper); ok { |
| 1277 | h.Helper() |
| 1278 | } |
| 1279 | return NotErrorAs(a.t, err, target, msgAndArgs...) |
| 1280 | } |
| 1281 | |
| 1282 | // NotErrorAsf asserts that none of the errors in err's chain matches target, |
| 1283 | // but if so, sets target to that error value. |
nothing calls this directly
no test coverage detected