diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2017-05-27 11:48:36 +0200 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-06-02 15:41:37 +0200 |
commit | c5ad54062ad767c0d2882f64381ad15c034e8872 (patch) | |
tree | b1ac4570233ced7f0321ba920fc08af2995dcedc /gitlab/exceptions.py | |
parent | 88900e06761794442716c115229bd1f780cfbcef (diff) | |
download | gitlab-c5ad54062ad767c0d2882f64381ad15c034e8872.tar.gz |
Add lower-level methods for Gitlab()
Multiple goals:
* Support making direct queries to the Gitlab server, without objects
and managers.
* Progressively remove the need to know about managers and objects in
the Gitlab class; the Gitlab should only be an HTTP proxy to the
gitlab server.
* With this the objects gain control on how they should do requests.
The complexities of dealing with object specifics will be moved in the
object classes where they belong.
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 c7d1da6..401e44c 100644 --- a/gitlab/exceptions.py +++ b/gitlab/exceptions.py @@ -47,6 +47,14 @@ class GitlabOperationError(GitlabError): pass +class GitlabHttpError(GitlabError): + pass + + +class GitlaParsingError(GitlabHttpError): + pass + + class GitlabListError(GitlabOperationError): pass |