Set logic to change class on the httperror view template.