Home
last modified time | relevance | path

Searched refs:napi_throw_error (Results 1 – 25 of 42) sorted by relevance

12

/base/location/frameworks/js/napi/source/
Dlocation_napi_errcode.cpp28 napi_throw_error(env, std::to_string(errCode).c_str(), errMsg.c_str()); in HandleSyncErrCode()
/base/web/webview/interfaces/kits/napi/common/
Dbusiness_error.h28 napi_throw_error(env, std::to_string(err).c_str(), msg.c_str()); in ThrowError()
Dbusiness_error.cpp37 napi_throw_error(env, std::to_string(errCode).c_str(), GetErrMsgByErrCode(errCode).c_str()); in ThrowErrorByErrcode()
/base/security/huks/interfaces/kits/napi/src/v9/
Dhuks_napi_common_item.cpp43napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "the type of alias i… in ParseKeyAlias()
56 napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), in ParseKeyAlias()
100 napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), in GetUint8Array()
107 napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), in GetUint8Array()
170 napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), in CheckParamValueType()
347 napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), in GetCallback()
482 napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), in GetHandleValue()
550 napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), in GetPropertyFromOptions()
560 napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), in GetPropertyFromOptions()
Dhuks_napi_generate_key_item.cpp74napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in GenerateKeyParseParams()
Dhuks_napi_is_key_item_exist.cpp70napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in IsKeyExistParseParams()
Dhuks_napi_delete_key_item.cpp70napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in DeleteKeyParseParams()
Dhuks_napi_abort_session.cpp70napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in ParseAbortParams()
Dhuks_napi_get_key_item_properties.cpp78napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in GetKeyPropertiesParseParams()
Dhuks_napi_import_wrapped_key_item.cpp87napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in ImportWrappedKeyParseParams()
Dhuks_napi_import_key_item.cpp77napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in ImportKeyParseParams()
Dhuks_napi_export_key_item.cpp77napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in ExportKeyParseParams()
Dhuks_napi_update_finish_session.cpp219 napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), in GetTokenOrCallback()
302napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in ParseUpdateParams()
Dhuks_napi_init_session.cpp85napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in ParseInitParams()
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/napi/
Dnapi_util.cpp87 if (napi_throw_error(env, std::to_string(code).c_str(), msg.c_str()) != napi_ok) { in ThrowError()
/base/security/huks/interfaces/kits/napi/src/v8/
Dhuks_napi_delete_key.cpp70 napi_throw_error(env, nullptr, "invalid arguments"); in DeleteKeyParseParams()
Dhuks_napi_generate_key.cpp74 napi_throw_error(env, nullptr, "invalid arguments"); in GenerateKeyParseParams()
Dhuks_napi_abort.cpp70 napi_throw_error(env, nullptr, "invalid arguments"); in ParseAbortParams()
Dhuks_napi_get_key_properties.cpp78 napi_throw_error(env, nullptr, "invalid arguments"); in GetKeyPropertiesParseParams()
Dhuks_napi_import_key.cpp77 napi_throw_error(env, nullptr, "invalid arguments"); in ImportKeyParseParams()
Dhuks_napi_is_key_exist.cpp70 napi_throw_error(env, nullptr, "invalid arguments"); in IsKeyExistParseParams()
Dhuks_napi_init.cpp85 napi_throw_error(env, nullptr, "invalid arguments"); in ParseInitParams()
Dhuks_napi_export_key.cpp77 napi_throw_error(env, nullptr, "invalid arguments"); in ExportKeyParseParams()
/base/time/time_service/framework/js/napi/common/include/
Dnapi_utils.h33 napi_throw_error((env), code, message); \
/base/hiviewdfx/hichecker/interfaces/js/kits/napi/src/
Dnapi_hichecker.cpp151 napi_throw_error(env, std::to_string(errCode).c_str(), errMap[errCode].c_str()); in ThrowError()

12