Custom error pages. Closes #247.