diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-08 23:50:51 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-08 23:50:51 +0200 |
commit | b0e84a3401c84507dc017d6e4f57a9dfdb31de53 (patch) | |
tree | 59ad57c3bb4460ed824a144ddc4f84e4b20675dc /lib/git/errors.py | |
parent | 6da04adff0b96c5163b0c2530028b72be2fd26fd (diff) | |
parent | 07eaa4ce2696a88ec0db6e91f191af1e48226aca (diff) | |
download | gitpython-b0e84a3401c84507dc017d6e4f57a9dfdb31de53.tar.gz |
Merge branch 'doc_enhancements' into fixes
Diffstat (limited to 'lib/git/errors.py')
-rw-r--r-- | lib/git/errors.py | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/git/errors.py b/lib/git/errors.py index bf882d33..2632d5f3 100644 --- a/lib/git/errors.py +++ b/lib/git/errors.py @@ -3,14 +3,24 @@ # # This module is part of GitPython and is released under # the BSD License: http://www.opensource.org/licenses/bsd-license.php +""" +Module containing all exceptions thrown througout the git package, +""" class InvalidGitRepositoryError(Exception): - pass + """ + Thrown if the given repository appears to have an invalid format. + """ class NoSuchPathError(Exception): - pass + """ + Thrown if a path could not be access by the system. + """ class GitCommandError(Exception): + """ + Thrown if execution of the git command fails with non-zero status code. + """ def __init__(self, command, status, stderr=None): self.stderr = stderr self.status = status |