This should be replaced with `all(isfinite, errors)`, and in the second test `[errors...]` can be replaced with just `errors` (`all` still works on n-d).