whole_func_string: function sendRequiredErrors(sender, missingProps) {
    _.forEach(missingProps, function (prop) {
      sender.emit('error', prop + ' is missing');
    });
  }
func_code_string: function sendRequiredErrors(sender, missingProps) {
    _.forEach(missingProps, function (prop) {
      sender.emit('error', prop + ' is missing');
    });
  }
func_documentation_string: send an error for each missing properties