Public Member Functions | |
def | initialize |
def | prepare |
Generates an error response with status_code for all requests.
def tornado.web.ErrorHandler.initialize | ( | self, | |
status_code | |||
) |
def tornado.web.ErrorHandler.prepare | ( | self | ) |
Called at the beginning of a request before `get`/`post`/etc. Override this method to perform common initialization regardless of the request method.
Reimplemented from tornado.web.RequestHandler.