Simplify error handling in the compiler, allowing to report multiple errors at once.