flows: enum to django TextChoices
This commit is contained in:
@ -1,5 +1,9 @@
|
||||
"""flow exceptions"""
|
||||
|
||||
|
||||
class FlowNonApplicableError(BaseException):
|
||||
class FlowNonApplicableException(BaseException):
|
||||
"""Exception raised when a Flow does not apply to a user."""
|
||||
|
||||
|
||||
class EmptyFlowException(BaseException):
|
||||
"""Exception raised when a Flow Plan is empty"""
|
||||
|
||||
Reference in New Issue
Block a user