From: Adam Israel Date: Sun, 1 Dec 2019 17:55:09 +0000 (-0500) Subject: Add NotImplemented exception X-Git-Tag: v7.0.0rc1~6 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F84%2F8284%2F1;p=osm%2FN2VC.git Add NotImplemented exception Change-Id: I5b94d60c9ce166163d5320cbbdef2cc0a549468f Signed-off-by: Adam Israel --- 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