authentik/passbook/flows/exceptions.py

10 lines
234 B
Python
Raw Normal View History

"""flow exceptions"""
2020-05-09 19:54:56 +01:00
class FlowNonApplicableException(BaseException):
"""Exception raised when a Flow does not apply to a user."""
2020-05-09 19:54:56 +01:00
class EmptyFlowException(BaseException):
"""Exception raised when a Flow Plan is empty"""