Any reason for `allErrors` to be an object with an `errors` field containing an array, rather than just being the array itself directly?