From 73d89cccec4bac27457a9effb7b4e6b7ca0deb5b Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Thu, 30 Apr 2015 23:05:55 +0200 Subject: [PATCH] Errorhandlers were NOT *added* in 1.0 --- docs/errorhandling.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/errorhandling.rst b/docs/errorhandling.rst index 132e2269..f51d7460 100644 --- a/docs/errorhandling.rst +++ b/docs/errorhandling.rst @@ -33,8 +33,6 @@ with errors. Error handlers -------------- -.. versionadded:: 1.0 - You might want to show custom error pages to the user when an error occurs. This can be done by registering error handlers. @@ -64,6 +62,11 @@ are interchangable when handed to the registration methods or decorator You are however not limited to a :exc:`~werkzeug.exceptions.HTTPException` or its code but can register a handler for every exception class you like. +.. versionchanged:: 1.0 + + Errorhandlers are now prioritized by specifity instead of the order they're + registered in. + Handling ````````