Notwithstanding issues #110 and #123, the class definition of OAuthError
seems to be pretty much entirely redundant. A simple `pass`ing class
definition inheriting from Exception would serve exactly the same purpose, no?
The only 'feature' I can see the current definition adding is a default
message ("OAuth error occured"), which is already made entirely redundant
by the name of the class itself - "OAuthError".
It also has the spelling of "occurred" wrong. ;)
I specifically suggest inheriting from Exception rather than the current
RuntimeError, because RuntimeError "is mostly a relic from a previous
version of the interpreter" (so sayeth the Python docs).
Original issue reported on code.google.com by raumkraut on 1 Oct 2009 at 11:41
Original issue reported on code.google.com by
raumkraut
on 1 Oct 2009 at 11:41