class_docstr: ErrorTrees make it easier to check which validations failed.
class_docstr_tok: ["ErrorTrees","make","it","easier","to","check","which","validations","failed","."]
docstr: The total number of errors in the entire tree, including children.
docstr_tok: ["The","total","number","of","errors","in","the","entire","tree",",","including","children","."]
code: def total_errors(self):
      """
      The total number of errors in the entire tree, including children.
      """
  
      child_errors = sum(
          len(tree) for _, tree in iteritems(self._contents)
      )
      return len(self.errors) + child_errors
  
imports: from collections import defaultdict, deque
  import itertools
  import pprint
  import textwrap
  import attr
  from jsonschema import _utils
  from jsonschema.compat import PY3, iteritems
label_desc: Use image node_id 8 for calling the ErrorTree obj's underlying member method code with example usage: obj.total_errors() and returns: unknown