authentik/passbook/flows/exceptions.py

10 lines
212 B
Python
Raw Normal View History

"""flow exceptions"""
2020-05-09 19:54:56 +01:00
class FlowNonApplicableException(BaseException):
"""Flow does not apply to current user (denied by policy)."""
2020-05-09 19:54:56 +01:00
class EmptyFlowException(BaseException):
"""Flow has no stages."""