jlinn/pyflare — pull request #2 by jalaziz (2014-04-14 00:41:18+00:00)
Title: Updated error handling for errors that do not have codes

Not all errors return err_code in the response, resulting in a KeyError exception. This change fixes that and offers the error details as attributes on the APIError class.