updates
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class HttpError(IOError):
|
||||
|
||||
def __init__(self, message, status_code, headers):
|
||||
IOError.__init__(self)
|
||||
self.message = message
|
||||
self.status_code = status_code
|
||||
self.headers = headers
|
||||
|
||||
def __str__(self):
|
||||
return self.message
|
||||
Reference in New Issue
Block a user