Add NotImplemented exception 84/8284/1
authorAdam Israel <adam.israel@canonical.com>
Sun, 1 Dec 2019 17:55:09 +0000 (12:55 -0500)
committerAdam Israel <adam.israel@canonical.com>
Sun, 1 Dec 2019 17:55:09 +0000 (12:55 -0500)
Change-Id: I5b94d60c9ce166163d5320cbbdef2cc0a549468f
Signed-off-by: Adam Israel <adam.israel@canonical.com>
n2vc/exceptions.py

index 4b83e3f..c8e8793 100644 (file)
@@ -40,6 +40,10 @@ class AuthenticationFailed(Exception):
     """The authentication for the specified user failed."""
 
 
+class NotImplemented(Exception):
+    """The method is not implemented."""
+
+
 class N2VCException(Exception):
     """
     N2VC exception base class
@@ -107,6 +111,7 @@ class N2VCExecutionException(N2VCException):
     def __str__(self):
         return '<{}> Error executing primitive {} failed: {}'.format(type(self), self.primitive_name, super().__str__())
 
+
 class N2VCInvalidCertificate(N2VCException):
     """
     Invalid certificate