aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dotfiles/exceptions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/dotfiles/exceptions.py b/dotfiles/exceptions.py
index 2469b80..e6939b2 100644
--- a/dotfiles/exceptions.py
+++ b/dotfiles/exceptions.py
@@ -63,6 +63,12 @@ class DoesNotExist(DotfileException):
DotfileException.__init__(self, path, 'doest not exist')
+class Exists(DotfileException):
+
+ def __init__(self, path):
+ DotfileException.__init__(self, path, 'already exists')
+
+
class TargetExists(DotfileException):
def __init__(self, path):