mirror of
https://github.com/langgenius/dify.git
synced 2026-11-13 14:51:39 +08:00
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
10 lines
325 B
Python
10 lines
325 B
Python
"""Persistence conflicts for human input form submission."""
|
|
|
|
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}")
|