+class A1Error(Exception):
+ """A base class for A1 exceptions."""
+
+ def __init__(self, message):
+ # Call the base class constructor with the parameters it needs
+ super(A1Error, self).__init__(message)
+
+
+class CantDeleteNonEmptyType(A1Error):
+ """tried to delete a type that isn't empty"""
+
+
+class PolicyInstanceNotFound(A1Error):