New error views

This pull request is on top of #1153. It should not be merged before #1153.