Skip to content
Myr

Merge pull request #707 from xsleonard/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Mention register_error_handler in errorhandler doc

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 9c434eb, b9355a7 · Browse files · 1 file+5 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−0 removed

  • other:+5 added−0 removed

1 file+5 added−0 removed

modified:flask/app.py+5 added
1076 unmodified lines
1077 The first `None` refers to the active blueprint. If the error1078 handler should be application wide `None` shall be used.10791080 .. versionadded:: 0.71081 Use :meth:`register_error_handler` instead of modifying1082 :attr:`error_handler_spec` directly, for application wide error1083 handlers.1084 1085 .. versionadded:: 0.71086 One can now additionally also register custom exception types1087 that do not necessarily have to be a subclass of the1088 :class:`~werkzeug.exceptions.HTTPException` class.1089
782 unmodified lines