aboutsummaryrefslogtreecommitdiffstats
path: root/git_deps/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'git_deps/errors.py')
-rw-r--r--git_deps/errors.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/git_deps/errors.py b/git_deps/errors.py
new file mode 100644
index 0000000..9be5c1f
--- /dev/null
+++ b/git_deps/errors.py
@@ -0,0 +1,6 @@
+class InvalidCommitish(Exception):
+ def __init__(self, commitish):
+ self.commitish = commitish
+
+ def message(self):
+ return "Couldn't resolve commitish %s" % self.commitish