class_docstr: A json schema validator.
class_docstr_tok: ["A","json","schema","validator","."]
docstr: Iterate over errors in incoming data.
docstr_tok: ["Iterate","over","errors","in","incoming","data","."]
code: def iter_errors(self, data, schema=None):
      """Iterate over errors in incoming data."""
      if schema is None:
          return self._default_validator.iter_errors(data)
      if hasattr(self._default_validator, "evolve"):
          return self._default_validator.evolve(
              schema=schema
          ).iter_errors(data)
      return self._default_validator.iter_errors(data, schema)
  
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 3 for calling the JsonSchemaValidator obj's underlying member method code with example usage: obj.iter_errors(data, schema) and returns: self, self, self