Commit 2e84ea08 authored by Giorgos Verigakis's avatar Giorgos Verigakis
Browse files

Call superclass __init__ in ClientError

parent 9e9dc5ec
......@@ -59,6 +59,7 @@ requests.Response.status = property(_status)
class ClientError(Exception):
def __init__(self, message, status=0, details=''):
super(ClientError, self).__init__(message, status, details)
self.message = message
self.status = status
self.details = details
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment