Underground-Digital/Workflow-Engine
0
1from core.workflow.nodes.base import BaseNode2 3 4class WorkflowNodeRunFailedError(Exception):5 def __init__(self, node_instance: BaseNode, error: str):6 self.node_instance = node_instance7 self.error = error8 super().__init__(f"Node {node_instance.node_data.title} run failed: {error}")9 