kennethreitz/requests — Issue #419: RequestException should subclass RuntimeError
Author: gfxmonk
Created: 2012-02-11 10:19:40+00:00
State: open

At the very least, it should subclass StandardError so that it can easily be caught without mentioning specifically or catching Exception (which is bad practice).

All of its subclasses except for maybe URLRequired are clearly runtime errors, rather than coding errors. URLRequired should possibly subclass ValueError, although it may not be worth making it different to the other `RequestException`s