summaryrefslogtreecommitdiff
path: root/gitlab/exceptions.py
diff options
context:
space:
mode:
authorAntoine Auger <antoineauger@users.noreply.github.com>2022-06-13 11:12:02 +0200
committerAntoine Auger <antoineauger@users.noreply.github.com>2022-06-13 11:22:07 +0200
commit0d44b118f85f92e7beb1a05a12bdc6e070dce367 (patch)
tree008938e9b2fd1515b8f49cc832c0fc733a73b05e /gitlab/exceptions.py
parent384031c530e813f55da52f2b2c5635ea935f9d91 (diff)
downloadgitlab-0d44b118f85f92e7beb1a05a12bdc6e070dce367.tar.gz
feat(users): add ban and unban methods
Diffstat (limited to 'gitlab/exceptions.py')
-rw-r--r--gitlab/exceptions.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/gitlab/exceptions.py b/gitlab/exceptions.py
index 3da399c..251ef7b 100644
--- a/gitlab/exceptions.py
+++ b/gitlab/exceptions.py
@@ -186,6 +186,14 @@ class GitlabActivateError(GitlabOperationError):
pass
+class GitlabBanError(GitlabOperationError):
+ pass
+
+
+class GitlabUnbanError(GitlabOperationError):
+ pass
+
+
class GitlabSubscribeError(GitlabOperationError):
pass