mirror of
https://github.com/langgenius/dify.git
synced 2026-11-24 20:59:04 +08:00
10 lines
331 B
Python
10 lines
331 B
Python
"""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}")
|