Source code for arpoc.exceptions
[docs]class OIDCProxyException(Exception):
pass
[docs]class ACEntityMissing(OIDCProxyException):
pass
[docs]class AttributeMissing(OIDCProxyException):
pass
[docs]class SubjectAttributeMissing(AttributeMissing):
def __init__(self, message: str, attr: str) -> None:
super().__init__(self, message)
self.attr = attr
[docs]class ObjectAttributeMissing(AttributeMissing):
pass
[docs]class EnvironmentAttributeMissing(AttributeMissing):
pass
[docs]class BadRuleSyntax(Exception):
pass
[docs]class BadSemantics(Exception):
pass
[docs]class DuplicateKeyError(OIDCProxyException):
pass
[docs]class ConfigError(OIDCProxyException):
pass