error类, 没有继承于Error类, 便于log和统一调试
const ERR=require('@hive/error');
var err=new ERR(ERR[type],detail)
new ERR( ERR[type], String detail )
#### Parameters
* ERR[type]
> type目前有TIMEOUT,NOUSER,NOTFOUND,SERVERERROR,OTHER
* detail
> String : 错误详细描述
#### Properties of Constructor
* ERR.TIMEOUT = 'timeout';
* ERR.NOUSER = 'no user';
* ERR.NOTFOUND = 'not found';
* ERR.SERVERERROR = 'server error';
* ERR.OTHER = 'other';