code: def __init__(self, exc=None):
      if exc is not None:
          self.exception = str(exc)
          self.type = "%s.%s" % (
              exc.__class__.__module__,
              exc.__class__.__name__,
          )
          if sys.exc_info()[0] is None:
              self.stacktrace = None
          else:
              self.stacktrace = traceback.format_exc()
  
imports: import sys
  import traceback
label_desc: Use image node_id 1 to create a new MetaflowExceptionWrapper object from inherited base classes: Exception with example: obj = MetaflowExceptionWrapper(exc)