From 80d01f0ef89e287184ba6d07be010ee3f16a74d9 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Thu, 29 May 2008 02:11:40 -0700 Subject: errors: add a GitCommandError class The next commit will raise GitCommandError when a flag is passed to method_missing and the exit status is non-zero. Signed-off-by: David Aguilar --- lib/git_python/errors.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/git_python/errors.py') diff --git a/lib/git_python/errors.py b/lib/git_python/errors.py index 4083841e..f3fae26b 100644 --- a/lib/git_python/errors.py +++ b/lib/git_python/errors.py @@ -3,3 +3,6 @@ class InvalidGitRepositoryError(Exception): class NoSuchPathError(Exception): pass + +class GitCommandError(Exception): + pass -- cgit v1.2.1