summaryrefslogtreecommitdiff
path: root/lib/git/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/errors.py')
-rw-r--r--lib/git/errors.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/git/errors.py b/lib/git/errors.py
index 956e007f..d8a35e02 100644
--- a/lib/git/errors.py
+++ b/lib/git/errors.py
@@ -18,6 +18,9 @@ class InvalidDBRoot(ODBError):
class BadObject(ODBError):
"""The object with the given SHA does not exist"""
+
+class BadObjectType(ODBError):
+ """The object had an unsupported type"""
class NoSuchPathError(OSError):
""" Thrown if a path could not be access by the system. """