forked from orbit-oss/flask
Merge pull request #1463 from moonshadow/fix_docstring
fix docstring for _find_errorhandler
This commit is contained in:
commit
6e77cd709e
1 changed files with 2 additions and 1 deletions
|
|
@ -1408,7 +1408,8 @@ class Flask(_PackageBoundObject):
|
|||
|
||||
def _find_error_handler(self, e):
|
||||
"""Finds a registered error handler for the request’s blueprint.
|
||||
If neither blueprint nor App has a suitable handler registered, returns None
|
||||
Otherwise falls back to the app, returns None if not a suitable
|
||||
handler is found.
|
||||
"""
|
||||
exc_class, code = self._get_exc_class_and_code(type(e))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue