X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=n2vc%2Fexceptions.py;h=1f48661c119d55132ade578685d12e72d33be9ca;hp=721b1f44fbc6d389e2872e5c7b6edc0cb9fa5c57;hb=cdf0b8e857e1373410e61bc72cd1a9f5c1ab7ca7;hpb=7c6840b23b5d6d8bc14eb7e76d1262c4ccde3097 diff --git a/n2vc/exceptions.py b/n2vc/exceptions.py index 721b1f4..1f48661 100644 --- a/n2vc/exceptions.py +++ b/n2vc/exceptions.py @@ -111,6 +111,18 @@ class N2VCNotFound(N2VCException): return "<{}> Not found: {}".format(type(self), super().__str__()) +class JujuError(N2VCException): + """ + Juju Error + """ + + def __init__(self, message: str = ""): + N2VCException.__init__(self, message=message) + + def __str__(self): + return "<{}> Juju Error: {}".format(type(self), super().__str__()) + + class K8sException(Exception): """ K8s exception