summaryrefslogtreecommitdiff
path: root/gitlab/exceptions.py
diff options
context:
space:
mode:
authorRaimund Hook <raimund.hook@exfo.com>2021-09-24 10:22:27 +0100
committerRaimund Hook <raimund.hook@exfo.com>2021-10-18 10:30:34 +0100
commit6d7c88a1fe401d271a34df80943634652195b140 (patch)
tree0596d9782a50a60e95d1677c17f9a02428993d1d /gitlab/exceptions.py
parent905781bed2afa33634b27842a42a077a160cffb8 (diff)
downloadgitlab-6d7c88a1fe401d271a34df80943634652195b140.tar.gz
feat(api): add project label promotion
Adds a mixin that allows the /promote endpoint to be called. Signed-off-by: Raimund Hook <raimund.hook@exfo.com>
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 6f2d4c4..66b1ee0 100644
--- a/gitlab/exceptions.py
+++ b/gitlab/exceptions.py
@@ -111,6 +111,10 @@ class GitlabProjectDeployKeyError(GitlabOperationError):
pass
+class GitlabPromoteError(GitlabOperationError):
+ pass
+
+
class GitlabCancelError(GitlabOperationError):
pass