class_docstr: Container objects attached to exceptions raised in user code.
  
  This metadata allows re-raising exceptions that occur in generated code, with
  a custom error message that includes a stack trace relative to user-readable
  code from which the generated code originated.
code: def __init__(
      self,
      callsite_tb,
      cause_metadata,
      cause_message,
      source_map,
      converter_filename,
  ):
      translated_stack = _stack_trace_inside_mapped_code(
          callsite_tb, source_map, converter_filename
      )
  
      if cause_metadata is None:
          self.translated_stack = translated_stack
          self.cause_message = cause_message
      else:
          # Daisy chain the translated stacks.
          self.translated_stack = cause_metadata.translated_stack + (
              translated_stack[-1],
          )
          self.cause_message = cause_metadata.cause_message
  
file_path: DALI/dali/python/nvidia/dali/_autograph/pyct/error_utils.py
imports: import collections
  from nvidia.dali._autograph.pyct import origin_info
label_desc: Use image node_id 1 to create a new ErrorMetadataBase object from inherited base classes: object with example: obj = ErrorMetadataBase(callsite_tb, cause_metadata, cause_message, source_map, converter_filename)