X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=n2vc%2Fexceptions.py;h=1f48661c119d55132ade578685d12e72d33be9ca;hp=721b1f44fbc6d389e2872e5c7b6edc0cb9fa5c57;hb=refs%2Fchanges%2F16%2F10616%2F9;hpb=475a7221e3598ad1c75ce802c5ad74ef7ecf72f1 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