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: Immediately fail and short-circuit to the next recovery context.
  
  NB: It is an error to "fail" without having added any errors to
  the error context.
docstr_tok: ["Immediately","fail","and","short-circuit","to","the","next","recovery","context",".","NB",":","It","is","an","error","to","``","fail","''","without","having","added","any","errors","to","the","error","context","."]
code: def fail(self):
      """
      Immediately fail and short-circuit to the next recovery context.
  
      NB: It is an error to "fail" without having added any errors to
      the error context.
      """
      raise self.exc_class()
  
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 11 for calling the Errors obj's underlying member method code with example usage: obj.fail() without return types