Searched refs:ThrowNapiError (Results 1 – 2 of 2) sorted by relevance
| /base/customization/config_policy/interfaces/kits/js/src/ |
| D | config_policy_napi.cpp | 108 …return ThrowNapiError(env, PARAM_ERROR, "Parameter error. The number of parameters is incorrect."); in GetOneCfgFileOrAllCfgFilesSync() 142 …return ThrowNapiError(env, PARAM_ERROR, "Parameter error. The number of parameters is incorrect."); in GetOneCfgFileOrAllCfgFiles() 182 …return ThrowNapiError(env, PARAM_ERROR, "Parameter error. The fourth parameter must be Callback."); in GetOneCfgFileOrAllCfgFiles() 213 … return ThrowNapiError(env, PARAM_ERROR, "Parameter error. The first parameter must be Callback."); in NAPIGetCfgDirList() 463 … return ThrowNapiError(env, PARAM_ERROR, "Parameter error. The type of relPath must be string."); in ParseRelPath() 475 … return ThrowNapiError(env, PARAM_ERROR, "Parameter error. The type of extra must be string."); in ParseExtra() 487 …return ThrowNapiError(env, PARAM_ERROR, "Parameter error. The type of followMode must be number."); in ParseFollowMode() 491 … return ThrowNapiError(env, PARAM_ERROR, "Parameter error. Get the value of followMode failed."); in ParseFollowMode() 507 return ThrowNapiError(env, PARAM_ERROR, in ParseFollowMode() 512 return ThrowNapiError(env, PARAM_ERROR, in ParseFollowMode() [all …]
|
| /base/customization/config_policy/interfaces/kits/js/include/ |
| D | config_policy_napi.h | 78 static napi_value ThrowNapiError(napi_env env, int32_t errCode, const std::string &errMessage);
|