more changes to consolidated error handling docs

This commit is contained in:
Ebonne Cabarrus 2020-06-29 15:06:09 -07:00 committed by David Lord
parent 21c3df31de
commit 569c88d721
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
2 changed files with 257 additions and 300 deletions

View file

@ -242,8 +242,10 @@ you can use relative redirects by prefixing the endpoint with a dot only::
This will link to ``admin.index`` for instance in case the current request
was dispatched to any other admin blueprint endpoint.
Error Handlers
--------------
.. _my-blueprint-error-label:
Blueprint Error Handlers
------------------------
Blueprints support the ``errorhandler`` decorator just like the :class:`Flask`
application object, so it is easy to make Blueprint-specific custom error