Feature 10239: Distributed VCA
[osm/N2VC.git] / n2vc / exceptions.py
index 721b1f4..1f48661 100644 (file)
@@ -111,6 +111,18 @@ class N2VCNotFound(N2VCException):
         return "<{}> Not found: {}".format(type(self), super().__str__())
 
 
         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
 class K8sException(Exception):
     """
     K8s exception