Update errorhandling.rst

This commit is contained in:
octopoulpe 2022-03-22 10:29:00 +01:00 committed by GitHub
parent 7abcf57f54
commit d80f41f57d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,7 +151,7 @@ If a route receives an unallowed request method, a "405 Method Not Allowed"
subclasses of :class:`~werkzeug.exceptions.HTTPException` and are provided by
default in Flask.
Flask gives you to the ability to raise any HTTP exception registered by
Flask gives you the ability to raise any HTTP exception registered by
Werkzeug. However, the default HTTP exceptions return simple exception
pages. You might want to show custom error pages to the user when an error occurs.
This can be done by registering error handlers.