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{})
| 1237 | // NotErrorAs asserts that none of the errors in err's chain matches target, |
| 1238 | // but if so, sets target to that error value. |
| 1239 | func (a *Assertions) NotErrorAs(err error, target interface{}, msgAndArgs ...interface{}) bool { |
| 1240 | if h, ok := a.t.(tHelper); ok { |
| 1241 | h.Helper() |
| 1242 | } |
| 1243 | return NotErrorAs(a.t, err, target, msgAndArgs...) |
| 1244 | } |
| 1245 | |
| 1246 | // NotErrorAsf asserts that none of the errors in err's chain matches target, |
| 1247 | // but if so, sets target to that error value. |
nothing calls this directly
no test coverage detected