Module policy_set_errors

Source
Expand description

Error subtypes for PolicySetError

Structs§

AlreadyDefined
There was a duplicate PolicyId encountered in either the set of templates or the set of policies.
ExpectedStatic
Expected a static policy, but a template-linked policy was provided
ExpectedTemplate
Expected a template, but a static policy was provided.
JsonPolicySetError
Error during JSON ser/de of the policy set (as opposed to individual policies)
LinkNonexistentError
Error when unlinking a template-linked policy
LinkingError
Error when linking a template
PolicyNonexistentError
Error when removing a static policy that doesn’t exist
RemoveTemplateNotTemplateError
Error when removing a template that is not a template
RemoveTemplateWithActiveLinksError
Error when removing a template with active links
TemplateNonexistentError
Error when removing a template that doesn’t exist
UnlinkLinkNotLinkError
Error when removing a link that is not a link