Files

9 lines
331 B
Python
Raw Permalink Normal View History

"""Application-visible conflicts for human-input form handling."""
from core.workflow.nodes.human_input.enums import HumanInputFormStatus
class FormAlreadyHandledError(Exception):
def __init__(self, status: HumanInputFormStatus):
self.status = status
super().__init__(f"Form is no longer waiting: {status}")