X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=n2vc%2Fexceptions.py;h=815d4eab3dd929315081509a096711fa5f2bff09;hp=a663c6284391c9895f09a8329cb8dc867d8f019d;hb=c6b1926590fa70d8504cd72cd75dbba8ba28e65b;hpb=dfaa6e8f53c55ed31697981688085820a01cb43f 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