Raised when workflow execution fails.
| 52 | |
| 53 | |
| 54 | class WorkflowExecutionError(MACException): |
| 55 | """Raised when workflow execution fails.""" |
| 56 | |
| 57 | def __init__(self, message: str, workflow_id: str = None, node_id: str = None, details: Dict[str, Any] = None): |
| 58 | super().__init__(message, "WORKFLOW_EXECUTION_ERROR", details or {}) |
| 59 | if workflow_id: |
| 60 | self.details["workflow_id"] = workflow_id |
| 61 | if node_id: |
| 62 | self.details["node_id"] = node_id |
| 63 | |
| 64 | |
| 65 | class WorkflowCancelledError(MACException): |
no outgoing calls
no test coverage detected