added info about an exception being raised for the old and broken behavior
This commit is contained in:
parent
9d3c4bbb8c
commit
d4ad47af62
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue