added info about an exception being raised for the old and broken behavior

This commit is contained in:
Phil Schaf 2015-04-11 17:44:18 +02:00
parent 55c0900452
commit f8e3819217

View file

@ -43,6 +43,8 @@ See :ref:`error-handlers` for specifics.
only for exception *instances*. This was unintended and plain wrong, only for exception *instances*. This was unintended and plain wrong,
and therefore was replaced with the intended behavior of registering and therefore was replaced with the intended behavior of registering
handlers only using exception classes and HTTP error codes. handlers only using exception classes and HTTP error codes.
Trying to register a handler on an instance now raises :exc:`ValueError`
.. _upgrading-to-010: .. _upgrading-to-010: