summaryrefslogtreecommitdiff
path: root/gitlab/exceptions.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-11-12 07:38:28 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2017-11-12 07:38:28 +0100
commit9ede6529884e850532758ae218465c1b7584c2d4 (patch)
tree9ad4c053ac296dd478420acf6636db76ff180106 /gitlab/exceptions.py
parent4ee139ad5c58006da1f9af93fdd4e70592e6daa0 (diff)
downloadgitlab-9ede6529884e850532758ae218465c1b7584c2d4.tar.gz
Add support for project housekeeping
Closes #368
Diffstat (limited to 'gitlab/exceptions.py')
-rw-r--r--gitlab/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gitlab/exceptions.py b/gitlab/exceptions.py
index d95bb08..9a423dd 100644
--- a/gitlab/exceptions.py
+++ b/gitlab/exceptions.py
@@ -189,6 +189,10 @@ class GitlabCherryPickError(GitlabOperationError):
pass
+class GitlabHousekeepingError(GitlabOperationError):
+ pass
+
+
def raise_error_from_response(response, error, expected_code=200):
"""Tries to parse gitlab error message from response and raises error.