forked from orbit-oss/flask
Errorhandlers were NOT *added* in 1.0
This commit is contained in:
parent
e99fec26ab
commit
73d89cccec
1 changed files with 5 additions and 2 deletions
|
|
@ -33,8 +33,6 @@ with errors.
|
|||
Error handlers
|
||||
--------------
|
||||
|
||||
.. versionadded:: 1.0
|
||||
|
||||
You might want to show custom error pages to the user when an error occurs.
|
||||
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`
|
||||
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
|
||||
````````
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue