X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=n2vc%2Fexceptions.py;h=815d4eab3dd929315081509a096711fa5f2bff09;hp=a663c6284391c9895f09a8329cb8dc867d8f019d;hb=84861ad768f1cb3c34784bbfeb536119732f1ee0;hpb=9d6dcbcf8ea2c13a1f2a50435a1ce92b85f25eb0 diff --git a/n2vc/exceptions.py b/n2vc/exceptions.py index a663c62..815d4ea 100644 --- a/n2vc/exceptions.py +++ b/n2vc/exceptions.py @@ -125,6 +125,18 @@ class N2VCInvalidCertificate(N2VCException): return '<{}> Invalid certificate: {}'.format(type(self), super().__str__()) +class N2VCNotFound(N2VCException): + """ + Not found + """ + + def __init__(self, message: str = ''): + N2VCException.__init__(self, message=message) + + def __str__(self): + return '<{}> Not found: {}'.format(type(self), super().__str__()) + + class K8sException(Exception): """ K8s exception