summaryrefslogtreecommitdiff
path: root/gitlab/exceptions.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2022-08-23 20:56:26 -0700
committerJohn L. Villalovos <john@sodarock.com>2022-08-25 07:57:02 -0700
commit9c9eeb901b1f3acd3fb0c4f24014ae2ed7c975ec (patch)
tree2227bdfce32af418e5342bb66fc2f758528e7c00 /gitlab/exceptions.py
parente095735e02867f433fdff388212785379d43b89b (diff)
downloadgitlab-9c9eeb901b1f3acd3fb0c4f24014ae2ed7c975ec.tar.gz
feat: add support for deployment approval endpoint
Add support for the deployment approval endpoint[1] [1] https://docs.gitlab.com/ee/api/deployments.html#approve-or-reject-a-blocked-deployment Closes: #2253
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 01439e4..633de5b 100644
--- a/gitlab/exceptions.py
+++ b/gitlab/exceptions.py
@@ -301,6 +301,10 @@ class GitlabUserRejectError(GitlabOperationError):
pass
+class GitlabDeploymentApprovalError(GitlabOperationError):
+ pass
+
+
# For an explanation of how these type-hints work see:
# https://mypy.readthedocs.io/en/stable/generics.html#declaring-decorators
#