Searched refs:ThrowNapiError (Results 1 - 2 of 2) sorted by relevance
/base/customization/config_policy/interfaces/kits/js/src/ |
H A D | config_policy_napi.cpp | 113 return ThrowNapiError(env, PARAM_ERROR, "Parameter error. The number of parameters is incorrect."); in GetOneCfgFileOrAllCfgFilesSync() 147 return ThrowNapiError(env, PARAM_ERROR, "Parameter error. The number of parameters is incorrect."); in GetOneCfgFileOrAllCfgFiles() 187 return ThrowNapiError(env, PARAM_ERROR, "Parameter error. The type of callback must be AsyncCallback."); in GetOneCfgFileOrAllCfgFiles() 218 return ThrowNapiError(env, PARAM_ERROR, "Parameter error. The type of callback must be AsyncCallback."); in NAPIGetCfgDirList() 468 return ThrowNapiError(env, PARAM_ERROR, "Parameter error. The type of relPath must be string."); in ParseRelPath() 480 return ThrowNapiError(env, PARAM_ERROR, "Parameter error. The type of extra must be string."); in ParseExtra() 492 return ThrowNapiError(env, PARAM_ERROR, "Parameter error. The type of followMode must be number."); in ParseFollowMode() 508 return ThrowNapiError(env, PARAM_ERROR, in ParseFollowMode() 513 return ThrowNapiError(env, PARAM_ERROR, in ParseFollowMode() 522 napi_value ConfigPolicyNapi::ThrowNapiError(napi_en function in OHOS::Customization::ConfigPolicy::ConfigPolicyNapi [all...] |
/base/customization/config_policy/interfaces/kits/js/include/ |
H A D | config_policy_napi.h | 78 static napi_value ThrowNapiError(napi_env env, int32_t errCode, const std::string &errMessage);
|
Completed in 2 milliseconds