From d80f41f57dbae28c784fde0fc829807cc2ab4a76 Mon Sep 17 00:00:00 2001 From: octopoulpe Date: Tue, 22 Mar 2022 10:29:00 +0100 Subject: [PATCH] Update errorhandling.rst --- docs/errorhandling.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/errorhandling.rst b/docs/errorhandling.rst index 764dfd20..4aa512ea 100644 --- a/docs/errorhandling.rst +++ b/docs/errorhandling.rst @@ -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.