TweepError now includes the HTTPResponse object of the failed call.
authorJoshua Roesslein <jroesslein@gmail.com>
Fri, 26 Feb 2010 06:25:18 +0000 (00:25 -0600)
committerJoshua Roesslein <jroesslein@gmail.com>
Fri, 26 Feb 2010 06:25:18 +0000 (00:25 -0600)
commit31a351c665ad8675a10b52351feecf8c9d24ba53
treec5cb52d81e35dd485dc8aa317d6274ccd7f67102
parent7e9b4e3c3e3cce8a23c1b4f4e4cd16f43e7993fa
TweepError now includes the HTTPResponse object of the failed call.

Example:
try:
api.get_status(0)
except TweepError, e:
e.response // <-- HTTPResponse object
tweepy/binder.py
tweepy/error.py