authentik/passbook/flows/exceptions.py

10 lines
212 B
Python

"""flow exceptions"""
class FlowNonApplicableException(BaseException):
"""Flow does not apply to current user (denied by policy)."""
class EmptyFlowException(BaseException):
"""Flow has no stages."""