mirror of
https://github.com/langgenius/dify.git
synced 2025-11-12 01:11:53 +00:00
Signed-off-by: -LAN- <laipz8200@outlook.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
9 lines
270 B
Python
9 lines
270 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}")
|