class_docstr: Exception raised when a process failed due to signal or exited with a specific code.
class_docstr_tok: ["Exception","raised","when","a","process","failed","due","to","signal","or","exited","with","a","specific","code","."]
code: def __init__(
      self,
      msg: str,
      error_index: int,
      error_pid: int,
      exit_code: int,
      signal_name: Optional[str] = None,
  ):
      super().__init__(msg, error_index, error_pid)
      self.exit_code = exit_code
      self.signal_name = signal_name
  
imports: import logging
  import multiprocessing
  import multiprocessing.connection
  import os
  import pickle
  import signal
  import sys
  import tempfile
  import time
  import warnings
  from typing import Optional
  from .None import _prctl_pr_set_pdeathsig
label_desc: Use image node_id 1 to create a new ProcessExitedException object from inherited base classes: ProcessException with example: obj = ProcessExitedException(msg, error_index, error_pid, exit_code, signal_name)