Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Phil Schaf · committed by Phil Schaf · parent 9d3c4bb · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:docs/upgrading.rst+2 added
41 unmodified lines
42 There used to be a logic error allowing you to register handlers43 only for exception *instances*. This was unintended and plain wrong,44 and therefore was replaced with the intended behavior of registering45 handlers only using exception classes and HTTP error codes.46 47 Trying to register a handler on an instance now raises :exc:`ValueError`4849.. _upgrading-to-010:5051Version 0.10
348 unmodified lines