class_docstr: ErrorTrees make it easier to check which validations failed.
class_docstr_tok: ["ErrorTrees","make","it","easier","to","check","which","validations","failed","."]
docstr: Add an error to the tree at the given ``index``.
docstr_tok: ["Add","an","error","to","the","tree","at","the","given","``","index","``","."]
code: def __setitem__(self, index, value):
      """
      Add an error to the tree at the given ``index``.
      """
      self._contents[index] = value
  
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 4 for calling the ErrorTree obj's underlying member method code with example usage: obj.__setitem__(index, value) without return types