summaryrefslogtreecommitdiff
path: root/pygerrit/error.py
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2012-07-24 18:08:10 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2012-07-31 11:16:39 +0900
commitb6ba6d314ad8f764daa5ea8a2774c69439093c77 (patch)
treec2c7b82da8b2da96c550225bc767239ea152490c /pygerrit/error.py
parent3e4893b19eb586b130f9e96d6820c7805b8f9ca1 (diff)
downloadpygerrit-b6ba6d314ad8f764daa5ea8a2774c69439093c77.tar.gz
Refactor into submodules
Data models, events, errors, and stream handler are split from the single module into submodules. Change-Id: I03537c5e268135966c6b6e77ecaca1cb579a5fde
Diffstat (limited to 'pygerrit/error.py')
-rw-r--r--pygerrit/error.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pygerrit/error.py b/pygerrit/error.py
new file mode 100644
index 0000000..51ab039
--- /dev/null
+++ b/pygerrit/error.py
@@ -0,0 +1,5 @@
+""" Error classes. """
+
+
+class GerritError(Exception):
+ ''' Raised when something goes wrong in Gerrit handling. '''