Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
document params
Browse files Browse the repository at this point in the history
  • Loading branch information
blampe committed Aug 3, 2015
1 parent b35853b commit 4710c73
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion tchannel/event.py
Expand Up @@ -115,7 +115,19 @@ def on_operational_error_per_attempt(self, request, err):
pass

def on_application_error(self, request, err):
"""Called on uncaught exceptions from request handlers."""
"""Called on uncaught exceptions from request handlers.
:param request:
The :py:class:`tchannel.tornado.request.Request` object associated
with this uncaught exception.
:param err:
An instance of the unhandled exception.
As long as this method is not a :py:func:`coroutine`, it will be
run in the same exception context as the original error. The
``traceback`` module may be useful here.
"""
pass


Expand Down

0 comments on commit 4710c73

Please sign in to comment.