class_docstr: Helper class for passing-back and re-raising an exception from inside a TensorFlow dataset generator.
  Used in conjunction with `remember_exception`.
code: def raise_if_set(self):
      if self.exception is not None:
          exception = self.exception
          self.exception = None
          raise exception
  
imports: import os
  import sys
  import time
  import heapq
  import semver
  import random
  from multiprocessing import Pool
  from collections import namedtuple
label_desc: Use image node_id 2 for calling the ExceptionBox obj's underlying member method code with example usage: obj.raise_if_set() without return types