Yes, but getting rid of `errors` is not the main benefit. I think a custom error type could be used as a basis for errors and warnings. And you could make the errors `const` instead of `var`.