class_docstr: An error-collecting object which supports error recovery.
  
  It is intended to be used like a context manager:
  
  >>> with Errors("Top-level error message") as errs:
  >>>     ...
class_docstr_tok: ["An","error-collecting","object","which","supports","error","recovery",".","It","is","intended","to","be","used","like","a","context","manager",":",">",">",">","with","Errors","(","``","Top-level","error","message","''",")","as","errs",":",">",">",">","..."]
docstr: Returns a context manager which encloses a fragment of code with
  an extra contextual message, e.g., where an error occurred, or a hint
  applicable to all errors in the area.  Example usage:
  
  >>> with errs.addErrCtx("Some text"):
  >>>     ...
docstr_tok: ["Returns","a","context","manager","which","encloses","a","fragment","of","code","with","an","extra","contextual","message",",","e.g.",",","where","an","error","occurred",",","or","a","hint","applicable","to","all","errors","in","the","area",".","Example","usage",":",">",">",">","with","errs.addErrCtx","(","``","Some","text","''",")",":",">",">",">","..."]
code: def addErrCtxt(self, msg):
      """
      Returns a context manager which encloses a fragment of code with
      an extra contextual message, e.g., where an error occurred, or a hint
      applicable to all errors in the area.  Example usage:
  
      >>> with errs.addErrCtx("Some text"):
      >>>     ...
      """
      parent_self = self
  
      class AddContext:
          def __enter__(self):
              parent_self.context.append(msg)
  
          def __exit__(self, exc_type, exc_value, traceback):
              parent_self.context.pop()
  
      return AddContext()
  
imports: import difflib
  import io
  import numpy
  import onnx
  import onnx.helper
  import torch
  import torch.jit
  import torch.onnx
label_desc: Use image node_id 15 for calling the Errors obj's underlying member method code with example usage: obj.addErrCtxt(msg) and returns: AddContext