class_docstr: A json schema validator.
class_docstr_tok: ["A","json","schema","validator","."]
docstr: Create an error tree for the errors.
docstr_tok: ["Create","an","error","tree","for","the","errors","."]
code: def error_tree(self, errors):
      """Create an error tree for the errors."""
      return ErrorTree(errors=errors)
  
file_path: nbformat/nbformat/json_compat.py
imports: from __future__ import annotations
  import os
  import fastjsonschema
  import jsonschema
  from fastjsonschema import JsonSchemaException
  from jsonschema import Draft4Validator
  from jsonschema.exceptions import ErrorTree, ValidationError
label_desc: Use image node_id 4 for calling the JsonSchemaValidator obj's underlying member method code with example usage: obj.error_tree(errors) and returns: ErrorTree