class_docstr: A wrapper for multiprocessing.Process that supports exception handling and return objects.
docstr: Get any exception that might occurred.
docstr_tok: ["Get","any","exception","that","might","occurred","."]
code: def exception(self) -> Optional[Exception]:
      """Get any exception that might occurred."""
      self._poll()
  
      return self._exception
  
file_path: maze/maze/utils/process.py
imports: import multiprocessing
  from typing import Optional, Any
  from maze.utils.log_stats_utils import clear_global_state
  import os
  import re
  import subprocess
label_desc: Use image node_id 5 for calling the Process obj's underlying member method code with example usage: obj.exception() and returns: self