def METHOD_NAME(self):
    """Check the error if loading the LambdaDataset raises an exception"""
    error_message = "Internal load exception message"
    def internal_load():
        raise FileNotFoundError(error_message)
    data_set = LambdaDataset(internal_load, None)
    with pytest.raises(DatasetError, match=error_message):
        data_set.load()