diff options
author | savenger <github@smahmood.de> | 2017-03-03 13:57:46 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-03-03 13:57:46 +0100 |
commit | 92151b22b5b03b3d529caf1865a2e35738a2f3d2 (patch) | |
tree | f29231c671394f16e3117b3ed8d5d914c4f7d144 /gitlab/exceptions.py | |
parent | cd696240ec9000ce12c4232db3436fbca58b8fdd (diff) | |
download | gitlab-92151b22b5b03b3d529caf1865a2e35738a2f3d2.tar.gz |
Time tracking (#222)
* Added gitlab time tracking features
- get/set/remove estimated time per issue
- get/set/remove time spent per issue
* Added documentation for time tracking functions
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 1d1f477..11bbe26 100644 --- a/gitlab/exceptions.py +++ b/gitlab/exceptions.py @@ -143,6 +143,10 @@ class GitlabTodoError(GitlabOperationError): pass +class GitlabTimeTrackingError(GitlabOperationError): + pass + + def raise_error_from_response(response, error, expected_code=200): """Tries to parse gitlab error message from response and raises error. |