summaryrefslogtreecommitdiffstats
path: root/newton/newton/pub/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'newton/newton/pub/exceptions.py')
-rw-r--r--newton/newton/pub/exceptions.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/newton/newton/pub/exceptions.py b/newton/newton/pub/exceptions.py
index dff87e8a..b750d0a8 100644
--- a/newton/newton/pub/exceptions.py
+++ b/newton/newton/pub/exceptions.py
@@ -11,4 +11,8 @@
class VimDriverNewtonException(Exception):
- pass
+ def __init__(self, message, status_code="", content=""):
+ super(VimDriverNewtonException, self).__init__(message)
+ self.status_code = status_code
+ self.content = content
+ pass