Public Member Functions
tornado::test::web_test.ExceptionHandlerTest::Handler Class Reference
Inheritance diagram for tornado::test::web_test.ExceptionHandlerTest::Handler:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def get
def log_exception
def write_error

Detailed Description

Definition at line 1435 of file web_test.py.


Member Function Documentation

Definition at line 1436 of file web_test.py.

Override to customize logging of uncaught exceptions.

By default logs instances of `HTTPError` as warnings without
stack traces (on the ``tornado.general`` logger), and all
other exceptions as errors with stack traces (on the
``tornado.application`` logger).

.. versionadded:: 3.1

Reimplemented from tornado.web.RequestHandler.

Definition at line 1454 of file web_test.py.

def tornado::test::web_test.ExceptionHandlerTest::Handler::write_error (   self,
  status_code,
  kwargs 
)
Override to implement custom error pages.

``write_error`` may call `write`, `render`, `set_header`, etc
to produce output as usual.

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``.

Reimplemented from tornado.web.RequestHandler.

Definition at line 1445 of file web_test.py.


The documentation for this class was generated from the following file:


rosbridge_server
Author(s): Jonathan Mace
autogenerated on Thu Aug 27 2015 14:50:40