class_docstr: Raised in the main process when a worker failure is detected.
code: def __init__(
      self, cmd: str, wrapped_trace: Optional[str] = None
  ) -> None:
      self.cmd: str = cmd
      self.wrapped_trace: Optional[str] = wrapped_trace
      super().__init__()
  
imports: import math
  import multiprocessing
  import subprocess
  import textwrap
  import threading
  import time
  from typing import Dict, List, Optional, Set, Tuple, Union
  from worker.main import WorkerFailure, WorkerOutput
  from execution.work import InProgress, PYTHON_CMD, SHELL, WorkOrder
label_desc: Use image node_id 1 to create a new WorkerFailed object from inherited base classes: Exception with example: obj = WorkerFailed(cmd, wrapped_trace)