glasswall.content_management.errors.switches

 1from glasswall.content_management.errors.policies import ContentManagementPolicyError
 2
 3
 4class SwitchNotFound(ContentManagementPolicyError):
 5    """ The Content Management Policy Switch could not be found. """
 6    pass
 7
 8
 9class RestrictedValue(ContentManagementPolicyError):
10    """ The Content Management Policy Switch has an unexpected value. """
11    pass
7class SwitchNotFound(ContentManagementPolicyError):
8    """ The Content Management Policy Switch could not be found. """
9    pass

The Content Management Policy Switch could not be found.

12class RestrictedValue(ContentManagementPolicyError):
13    """ The Content Management Policy Switch has an unexpected value. """
14    pass

The Content Management Policy Switch has an unexpected value.