diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2016-08-11 10:58:40 +0200 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2016-08-11 10:58:40 +0200 |
commit | 131739f492946ba1cd58852be1caf000af451384 (patch) | |
tree | e0fc7e848fc93f90e6fcad8685a5eff18547dd29 /gitlab/exceptions.py | |
parent | 3e026d2ee62eba3ad92ff2cdd53db19f5e0e9f6a (diff) | |
download | gitlab-131739f492946ba1cd58852be1caf000af451384.tar.gz |
implement the todo API
Diffstat (limited to 'gitlab/exceptions.py')
-rw-r--r-- | gitlab/exceptions.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gitlab/exceptions.py b/gitlab/exceptions.py index 41dad98..e07f0cc 100644 --- a/gitlab/exceptions.py +++ b/gitlab/exceptions.py @@ -111,6 +111,10 @@ class GitlabMROnBuildSuccessError(GitlabOperationError): pass +class GitlabTodoError(GitlabOperationError): + pass + + def raise_error_from_response(response, error, expected_code=200): """Tries to parse gitlab error message from response and raises error. |