aboutsummaryrefslogtreecommitdiff
path: root/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'errors.py')
-rw-r--r--errors.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/errors.py b/errors.py
index aec4619..25518e5 100644
--- a/errors.py
+++ b/errors.py
@@ -28,6 +28,11 @@ class CriticalError(VlandError):
The critical error
"""
+class NotFoundError(VlandError):
+ """
+ Couldn't find object
+ """
+
class InputError(VlandError):
"""
Invalid input
@@ -48,3 +53,7 @@ class PExpectError(VlandError):
CLI communication failure
"""
+class Error:
+ OK = 0
+ FAILED = 1
+ NOTFOUND = 2