Skip to content
Myr

Errorhandlers were NOT *added* in 1.0

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

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parent e99fec2 · Browse files · 1 file+5 added−2 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−2 removed

  • other:+5 added−2 removed

1 file+5 added−2 removed

modified:docs/errorhandling.rst+5 added-2 removed
31 unmodified lines
3233Error handlers34--------------3536.. versionadded:: 1.03736You might want to show custom error pages to the user when an error occurs.37This can be done by registering error handlers.3839Error handlers are normal :ref:`views` but instead of being registered for
21 unmodified lines
6162You are however not limited to a :exc:`~werkzeug.exceptions.HTTPException`63or its code but can register a handler for every exception class you like.6465.. versionchanged:: 1.06667 Errorhandlers are now prioritized by specifity instead of the order they're68 registered in.6970Handling71````````7273Once an exception instance is raised, its class hierarchy is traversed,
279 unmodified lines