``write_error`` may call `write`, `render`, `set_header`, etc
to produce output as usual.
- If this error was caused by an uncaught exception, an ``exc_info``
- triple will be available as ``kwargs["exc_info"]``. Note that this
- exception may not be the "current" exception for purposes of
- methods like ``sys.exc_info()`` or ``traceback.format_exc``.
+ If this error was caused by an uncaught exception (including
+ HTTPError), an ``exc_info`` triple will be available as
+ ``kwargs["exc_info"]``. Note that this exception may not be
+ the "current" exception for purposes of methods like
+ ``sys.exc_info()`` or ``traceback.format_exc``.
For historical reasons, if a method ``get_error_html`` exists,
it will be used instead of the default ``write_error`` implementation.