mirror of
https://github.com/langgenius/dify.git
synced 2026-02-23 11:27:57 +08:00
Signed-off-by: -LAN- <laipz8200@outlook.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
9 lines
269 B
Python
9 lines
269 B
Python
from core.workflow.nodes.base.node import Node
|
|
|
|
|
|
class WorkflowNodeRunFailedError(Exception):
|
|
def __init__(self, node: Node, err_msg: str):
|
|
self._node = node
|
|
self._error = err_msg
|
|
super().__init__(f"Node {node.title} run failed: {err_msg}")
|