Throw an exception when an error is returned
Brought to you by:
beej71,
bustersnyvel
The Pythonic way of building things is to throw an exception when an error occurs. The advantage is that it can only be explicitly ignored. Right now it's too easy to miss an error condition. If an error needs to be ignored, it's easy enough to catch the exception, especially if we throw something we've invented ourselves, like a FlickrException class.
Logged In: YES
user_id=549047
Originator: YES
Fixed in SVN revision 29, and will be included in version 0.12.