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