diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-02-28 08:48:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-28 08:48:39 +0100 |
commit | 5bc158d3d4a8ac0d0116fea7cfd33ad897918741 (patch) | |
tree | c6a4db79af274a86285f233bf059d5b781644c44 /gitlab/exceptions.py | |
parent | b0d75d9e6fd4876446498f0aac97ae3f6ec601d5 (diff) | |
parent | e456869d98a1b7d07e6f878a0d6a9719c1b10fd4 (diff) | |
download | gitlab-5bc158d3d4a8ac0d0116fea7cfd33ad897918741.tar.gz |
Merge pull request #1333 from python-gitlab/feat/user-follow-api
feat(users): add follow/unfollow API
Diffstat (limited to 'gitlab/exceptions.py')
-rw-r--r-- | gitlab/exceptions.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gitlab/exceptions.py b/gitlab/exceptions.py index fd2ff2a..f5b3600 100644 --- a/gitlab/exceptions.py +++ b/gitlab/exceptions.py @@ -261,6 +261,14 @@ class GitlabLicenseError(GitlabOperationError): pass +class GitlabFollowError(GitlabOperationError): + pass + + +class GitlabUnfollowError(GitlabOperationError): + pass + + def on_http_error(error): """Manage GitlabHttpError exceptions. |