From 9e5eddb16371662937cb1bfb216ff5d155eb861f Mon Sep 17 00:00:00 2001 From: Adam Israel Date: Sun, 1 Dec 2019 12:55:09 -0500 Subject: [PATCH] Add NotImplemented exception Change-Id: I5b94d60c9ce166163d5320cbbdef2cc0a549468f Signed-off-by: Adam Israel --- n2vc/exceptions.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/n2vc/exceptions.py b/n2vc/exceptions.py index 4b83e3f..c8e8793 100644 --- a/n2vc/exceptions.py +++ b/n2vc/exceptions.py @@ -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 -- 2.25.1