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 9d3c4bbb8c
commit d4ad47af62

View file

@ -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: