Browse Source

Errorhandlers were NOT *added* in 1.0

pull/1448/head
Markus Unterwaditzer 10 years ago
parent
commit
73d89cccec
  1. 7
      docs/errorhandling.rst

7
docs/errorhandling.rst

@ -33,8 +33,6 @@ with errors.
Error handlers Error handlers
-------------- --------------
.. versionadded:: 1.0
You might want to show custom error pages to the user when an error occurs. You might want to show custom error pages to the user when an error occurs.
This can be done by registering error handlers. This can be done by registering error handlers.
@ -64,6 +62,11 @@ are interchangable when handed to the registration methods or decorator
You are however not limited to a :exc:`~werkzeug.exceptions.HTTPException` You are however not limited to a :exc:`~werkzeug.exceptions.HTTPException`
or its code but can register a handler for every exception class you like. or its code but can register a handler for every exception class you like.
.. versionchanged:: 1.0
Errorhandlers are now prioritized by specifity instead of the order they're
registered in.
Handling Handling
```````` ````````

Loading…
Cancel
Save