Skip to content

Commit

Permalink
clarify error handler execution order
Browse files Browse the repository at this point in the history
  • Loading branch information
Russell Haering committed Oct 4, 2013
1 parent 9dbf353 commit 47fd2de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions klein/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,10 @@ def error_handler(request, failure)
deferred, a failure or a response body.
If more than one error handler is registered, the handlers will be
executed in order until a handler is encountered which completes
successfully.
executed in the order in which they are defined, until a handler is
encountered which completes successfully. If no handler completes
successfully, L{twisted.web.server.Request}'s processingFailed() method
will be called.
@param f_or_exception: An error handler function, or an C{Exception}
subclass to scope the decorated handler to.
Expand Down

0 comments on commit 47fd2de

Please sign in to comment.