-var util = require("util");
+var util = require("util");
var config = require("./configure.js");
var async = require("async");
if("name_hash" in config.alias)
{
if(config.alias["name_hash"].type != "unsignednumber")
- throw "name_hash???unsignednumber??????????";
+ throw "name_hashの型はunsignednumberでなければなりません";
}else{
- throw "name_hash?????????";
+ throw "name_hashが存在しません";
}
if("name" in config.alias)
{
if(config.alias["name"].type != "text")
- throw "name???text??????????";
+ throw "nameの型はtextでなければなりません";
}else{
- throw "name?????????";
+ throw "nameが存在しません";
}
if("password" in config.alias)
{
if(config.alias["password"].type != "password")
- throw "name???password??????????";
+ throw "nameの型はpasswordでなければなりません";
}else{
- throw "password?????????";
+ throw "passwordが存在しません";
}
if("lastmodified" in config.alias)
{
if(config.alias["lastmodified"].type != "datetime")
- throw "lastmodified???text??????????";
+ throw "lastmodifiedの型はtextでなければなりません";
}else{
- throw "lastmodified?????????";
+ throw "lastmodifiedが存在しません";
}
async.waterfall([