code: function evalRequiredError(condition, required, type, name) {
      if (condition) {
          return new Error('Required argument <' + required + '> missing for ' + type + ': \'' + name + '\'');
      }
      return null;
  }
docs: Core Helper Methods