Raised when a workflow execution is cancelled mid-flight.
| 63 | |
| 64 | |
| 65 | class WorkflowCancelledError(MACException): |
| 66 | """Raised when a workflow execution is cancelled mid-flight.""" |
| 67 | |
| 68 | def __init__(self, message: str, workflow_id: str = None, details: Dict[str, Any] = None): |
| 69 | super().__init__(message, "WORKFLOW_CANCELLED", details or {}) |
| 70 | if workflow_id: |
| 71 | self.details["workflow_id"] = workflow_id |
| 72 | |
| 73 | |
| 74 | class ResourceNotFoundError(MACException): |
no outgoing calls
no test coverage detected