summaryrefslogtreecommitdiff
path: root/ick2/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'ick2/exceptions.py')
-rw-r--r--ick2/exceptions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ick2/exceptions.py b/ick2/exceptions.py
index c99c3e5..124b207 100644
--- a/ick2/exceptions.py
+++ b/ick2/exceptions.py
@@ -18,6 +18,12 @@ class IckException(Exception):
pass
+class ExistsAlready(IckException):
+
+ def __init__(self, name):
+ super().__init__('Resource {} already exists'.format(name))
+
+
class BadUpdate(IckException):
def __init__(self, how):