From d4ad47af624ef8382182fa3627b5e10e8ee2c703 Mon Sep 17 00:00:00 2001 From: Phil Schaf Date: Sat, 11 Apr 2015 17:44:18 +0200 Subject: [PATCH] added info about an exception being raised for the old and broken behavior --- docs/upgrading.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/upgrading.rst b/docs/upgrading.rst index d504da44..82a52206 100644 --- a/docs/upgrading.rst +++ b/docs/upgrading.rst @@ -43,6 +43,8 @@ See :ref:`error-handlers` for specifics. only for exception *instances*. This was unintended and plain wrong, and therefore was replaced with the intended behavior of registering handlers only using exception classes and HTTP error codes. + + Trying to register a handler on an instance now raises :exc:`ValueError` .. _upgrading-to-010: