diff options
author | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2016-01-30 19:04:30 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2016-01-30 19:04:30 +0100 |
commit | ebf36b81f122b0242dec8750f5d80ec58e5e4bbe (patch) | |
tree | 6ccd182fe2dce9229609079d3ce21e2d5e1f0bd2 /gitlab/exceptions.py | |
parent | fc8affd11c90d795a118f3def977a8dd37372ce0 (diff) | |
download | gitlab-ebf36b81f122b0242dec8750f5d80ec58e5e4bbe.tar.gz |
add support for project builds
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 c6df71c..74e6137 100644 --- a/gitlab/exceptions.py +++ b/gitlab/exceptions.py @@ -75,6 +75,14 @@ class GitlabTransferProjectError(GitlabOperationError): pass +class GitlabBuildCancelError(GitlabOperationError): + pass + + +class GitlabBuildRetryError(GitlabOperationError): + pass + + def raise_error_from_response(response, error, expected_code=200): """Tries to parse gitlab error message from response and raises error. |