X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=n2vc%2Fexceptions.py;h=1f48661c119d55132ade578685d12e72d33be9ca;hb=refs%2Fchanges%2F79%2F10479%2F5;hp=721b1f44fbc6d389e2872e5c7b6edc0cb9fa5c57;hpb=7c6840b23b5d6d8bc14eb7e76d1262c4ccde3097;p=osm%2FN2VC.git 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