You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

errors.py 310B

12345678
  1. from core.workflow.nodes.base import BaseNode
  2. class WorkflowNodeRunFailedError(Exception):
  3. def __init__(self, node_instance: BaseNode, error: str):
  4. self.node_instance = node_instance
  5. self.error = error
  6. super().__init__(f"Node {node_instance.node_data.title} run failed: {error}")