def add(self, error):
        if not self._path_of_(error):
            self.errors.append(error)
            self.errors.sort()
        else:
            super(ErrorTree, self).add(error)
Add an error to the tree.
dataset/ETHPy150Open nicolaiarocci/cerberus/cerberus/errors.py/ErrorTree.add