equal
deleted
inserted
replaced
60 |
60 |
61 class RemoteCallFailed(RequestError): |
61 class RemoteCallFailed(RequestError): |
62 """raised when a json remote call fails |
62 """raised when a json remote call fails |
63 """ |
63 """ |
64 def __init__(self, reason=''): |
64 def __init__(self, reason=''): |
65 super(RequestError, self).__init__() |
65 super(RemoteCallFailed, self).__init__() |
66 self.reason = reason |
66 self.reason = reason |
67 |
67 |
68 def dumps(self): |
68 def dumps(self): |
69 return json_dumps({'reason': self.reason}) |
69 return json_dumps({'reason': self.reason}) |
70 |
70 |