mirror of
https://github.com/langgenius/dify.git
synced 2025-08-01 05:47:27 +00:00

Signed-off-by: -LAN- <laipz8200@outlook.com> Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
9 lines
272 B
Python
9 lines
272 B
Python
from core.workflow.nodes.base import BaseNode
|
|
|
|
|
|
class WorkflowNodeRunFailedError(Exception):
|
|
def __init__(self, node: BaseNode, err_msg: str):
|
|
self._node = node
|
|
self._error = err_msg
|
|
super().__init__(f"Node {node.title} run failed: {err_msg}")
|