def __eq__(self, other):
        return hash(self) == hash(other)
Assumes the errors relate to the same document and schema.
dataset/ETHPy150Open nicolaiarocci/cerberus/cerberus/errors.py/ValidationError.__eq__