Better error pages?

We have made a lot of improvements over the years, @david introduced a theme error panel which is soon to be expanded to support a deprecation error panel.

We have safe mode as well which handles a very large amount of issues.

I would not say the issue in the OP is completely behind us, but we have made huge amounts of progress over the years.