class_docstr: Class to catch exceptions when running a thread.
class_docstr_tok: ["Class","to","catch","exceptions","when","running","a","thread","."]
code: def __init__(self, stopped: "Event") -> None:
      threading.Thread.__init__(self)
      self.__stopped = stopped
      self.__exception = None
  
imports: import logging
  import queue
  import sys
  import threading
  import time
  from typing import TYPE_CHECKING, Optional, Tuple, Type, Union
  from ..lib import tracelog
label_desc: Use image node_id 1 to create a new ExceptionThread object from inherited base classes: threading with example: obj = ExceptionThread(stopped)