allow setting custom error pages