aboutsummaryrefslogtreecommitdiffstats
path: root/dotfiles/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/exceptions.py')
-rw-r--r--dotfiles/exceptions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/dotfiles/exceptions.py b/dotfiles/exceptions.py
index cb6021c..7f9b5c6 100644
--- a/dotfiles/exceptions.py
+++ b/dotfiles/exceptions.py
@@ -8,6 +8,11 @@ class DotfileException(Exception):
return 'ERROR: %s' % self.message
+class RepositoryNotFound(DotfileException):
+ def __init__(self, path):
+ DotfileException.__init__(self, path, 'repository not found')
+
+
class IsDirectory(DotfileException):
def __init__(self, path):
DotfileException.__init__(self, path, 'is a directory')