mirror of
				https://github.com/langgenius/dify.git
				synced 2025-10-30 18:33:30 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			310 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			310 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from core.workflow.nodes.base import BaseNode
 | |
| 
 | |
| 
 | |
| class WorkflowNodeRunFailedError(Exception):
 | |
|     def __init__(self, node_instance: BaseNode, error: str):
 | |
|         self.node_instance = node_instance
 | |
|         self.error = error
 | |
|         super().__init__(f"Node {node_instance.node_data.title} run failed: {error}")
 | 
