Handle error pages in the schedule model