def error(self, value):
        raise ValidationError("must be %s" % self.humanized_name, value)
Helper method that can be called when ``value`` is deemed invalid.
dataset/ETHPy150Open sdispater/cleo/cleo/validators/__init__.py/Validator.error