Define a new outputErrorPage() function in HTTPErrorExceptions

Fixes #254