(self, url, code, json_response)
| 40 | """ Exception for API related errors """ |
| 41 | |
| 42 | def __init__(self, url, code, json_response): |
| 43 | self.url = url |
| 44 | self.status_code = code |
| 45 | self.response = json_response |
| 46 | super(APIException, self).__init__(str(self)) |
| 47 | |
| 48 | |
| 49 | def __str__(self): |