code: function (baseType, args) {
          jv._logError(jv.INVALID_TYPE_VALUE, [baseType.typeName, args.beanDef[jv._MD_TYPENAME], args.value, args.path]);
      }
docs: Utility function which logs a bad type error.
  @private
  @param {Object} baseType
  @param {Object} args