Skip to content
Myr

Another typo fix

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

authored by Armin Ronacher · committed by Armin Ronacher · parent a354c39 · 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/patterns/errorpages.rst+1 added-1 removed
47 unmodified lines
48An error handler is a function, just like a view function, but it is49called when an error happens and is passed that error. The error is most50likely a :exc:`~werkzeug.exceptions.HTTPException`, but in one case it51can be a different error: a handler for internal server errors will be52passed other exception instances as well if they are uncought.52passed other exception instances as well if they are uncaught.5354An error handler is registered with the :meth:`~flask.Flask.errorhandler`55decorator and the error code of the exception. Keep in mind that Flask56will *not* set the error code for you, so make sure to also provide the
21 unmodified lines