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: Add an error to the error context, and then short-circuit.
docstr_tok: ["Add","an","error","to","the","error","context",",","and","then","short-circuit","."]
code: def failWith(self, msg):
      """
      Add an error to the error context, and then short-circuit.
      """
      self.addErr(msg)
      self.fail()
  
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 12 for calling the Errors obj's underlying member method code with example usage: obj.failWith(msg) without return types