A1 v2.1.0
[ric-plt/a1.git] / a1 / exceptions.py
index b924292..c76e9f2 100644 (file)
@@ -19,6 +19,10 @@ Custom Exceptions
 """
 
 
+class CantDeleteNonEmptyType(BaseException):
+    """tried to delete a type that isn't empty"""
+
+
 class PolicyInstanceNotFound(BaseException):
     """a policy instance cannot be found"""
 
@@ -27,13 +31,5 @@ class PolicyTypeNotFound(BaseException):
     """a policy type instance cannot be found"""
 
 
-class MissingRmrString(BaseException):
-    pass
-
-
-class MissingManifest(BaseException):
-    pass
-
-
-class MissingRmrMapping(BaseException):
-    pass
+class PolicyTypeAlreadyExists(BaseException):
+    """a policy type already exists and replace not supported at this time"""