summaryrefslogtreecommitdiff
path: root/gitlab/exceptions.py
diff options
context:
space:
mode:
authorJoost Evertse <joustie@gmail.com>2019-01-14 15:22:20 +0100
committerJoost <joustie@gmail.com>2019-01-19 21:49:20 +0100
commit53f7de7bfe0056950a8e7271632da3f89e3ba3b3 (patch)
treec3f607edabedf0bc224cf5931a723fbc77e4f1df /gitlab/exceptions.py
parentbdbec678b1df23fd57b2e3c538e3eeac8d236690 (diff)
downloadgitlab-53f7de7bfe0056950a8e7271632da3f89e3ba3b3.tar.gz
feat: Added approve & unapprove method for Mergerequests
Offical GitLab API supports this for GitLab EE
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 6736f67..ddaef31 100644
--- a/gitlab/exceptions.py
+++ b/gitlab/exceptions.py
@@ -161,6 +161,10 @@ class GitlabMRForbiddenError(GitlabOperationError):
pass
+class GitlabMRApprovalError(GitlabOperationError):
+ pass
+
+
class GitlabMRClosedError(GitlabOperationError):
pass