Skip to content
Myr

Update errorhandling.rst

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

authored by octopoulpe · committed by GitHub · parent 7abcf57 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/errorhandling.rst+1 added-1 removed
149 unmodified lines
150(:exc:`~werkzeug.exceptions.MethodNotAllowed`) will be raised. These are all151subclasses of :class:`~werkzeug.exceptions.HTTPException` and are provided by152default in Flask.153154Flask gives you to the ability to raise any HTTP exception registered by154Flask gives you the ability to raise any HTTP exception registered by155Werkzeug. However, the default HTTP exceptions return simple exception156pages. You might want to show custom error pages to the user when an error occurs.157This can be done by registering error handlers.158
366 unmodified lines