|
|
@ -1077,6 +1077,11 @@ class Flask(_PackageBoundObject): |
|
|
|
The first `None` refers to the active blueprint. If the error |
|
|
|
The first `None` refers to the active blueprint. If the error |
|
|
|
handler should be application wide `None` shall be used. |
|
|
|
handler should be application wide `None` shall be used. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. versionadded:: 0.7 |
|
|
|
|
|
|
|
Use :meth:`register_error_handler` instead of modifying |
|
|
|
|
|
|
|
:attr:`error_handler_spec` directly, for application wide error |
|
|
|
|
|
|
|
handlers. |
|
|
|
|
|
|
|
|
|
|
|
.. versionadded:: 0.7 |
|
|
|
.. versionadded:: 0.7 |
|
|
|
One can now additionally also register custom exception types |
|
|
|
One can now additionally also register custom exception types |
|
|
|
that do not necessarily have to be a subclass of the |
|
|
|
that do not necessarily have to be a subclass of the |
|
|
|