diff options
Diffstat (limited to 'errors.py')
-rw-r--r-- | errors.py | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |