@abstractmethod
    def _validate_case(self, case):
        pass
Raise subclass of CommCareCaseError for invalid cases
dataset/ETHPy150Open dimagi/commcare-hq/corehq/form_processor/casedb_base.py/AbstractCaseDbCache._validate_case