Browse Source

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

pull/1429/head
Phil Schaf 10 years ago
parent
commit
d4ad47af62
  1. 2
      docs/upgrading.rst

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

Loading…
Cancel
Save