7d3d17acb9
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
15 lines
370 B
Python
15 lines
370 B
Python
"""flow exceptions"""
|
|
|
|
from authentik.lib.sentry import SentryIgnoredException
|
|
from authentik.policies.types import PolicyResult
|
|
|
|
|
|
class FlowNonApplicableException(SentryIgnoredException):
|
|
"""Flow does not apply to current user (denied by policy)."""
|
|
|
|
policy_result: PolicyResult
|
|
|
|
|
|
class EmptyFlowException(SentryIgnoredException):
|
|
"""Flow has no stages."""
|