/base/location/frameworks/js/napi/source/ |
D | location_napi_errcode.cpp | 28 napi_throw_error(env, std::to_string(errCode).c_str(), errMsg.c_str()); in HandleSyncErrCode()
|
/base/web/webview/interfaces/kits/napi/common/ |
D | business_error.h | 28 napi_throw_error(env, std::to_string(err).c_str(), msg.c_str()); in ThrowError()
|
D | business_error.cpp | 37 napi_throw_error(env, std::to_string(errCode).c_str(), GetErrMsgByErrCode(errCode).c_str()); in ThrowErrorByErrcode()
|
/base/security/huks/interfaces/kits/napi/src/v9/ |
D | huks_napi_common_item.cpp | 43 …napi_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()
|
D | huks_napi_generate_key_item.cpp | 74 …napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in GenerateKeyParseParams()
|
D | huks_napi_is_key_item_exist.cpp | 70 …napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in IsKeyExistParseParams()
|
D | huks_napi_delete_key_item.cpp | 70 …napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in DeleteKeyParseParams()
|
D | huks_napi_abort_session.cpp | 70 …napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in ParseAbortParams()
|
D | huks_napi_get_key_item_properties.cpp | 78 …napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in GetKeyPropertiesParseParams()
|
D | huks_napi_import_wrapped_key_item.cpp | 87 …napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in ImportWrappedKeyParseParams()
|
D | huks_napi_import_key_item.cpp | 77 …napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in ImportKeyParseParams()
|
D | huks_napi_export_key_item.cpp | 77 …napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in ExportKeyParseParams()
|
D | huks_napi_update_finish_session.cpp | 219 napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), in GetTokenOrCallback() 302 …napi_throw_error(env, std::to_string(HUKS_ERR_CODE_ILLEGAL_ARGUMENT).c_str(), "no enough params in… in ParseUpdateParams()
|
D | huks_napi_init_session.cpp | 85 …napi_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/ |
D | napi_util.cpp | 87 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/ |
D | huks_napi_delete_key.cpp | 70 napi_throw_error(env, nullptr, "invalid arguments"); in DeleteKeyParseParams()
|
D | huks_napi_generate_key.cpp | 74 napi_throw_error(env, nullptr, "invalid arguments"); in GenerateKeyParseParams()
|
D | huks_napi_abort.cpp | 70 napi_throw_error(env, nullptr, "invalid arguments"); in ParseAbortParams()
|
D | huks_napi_get_key_properties.cpp | 78 napi_throw_error(env, nullptr, "invalid arguments"); in GetKeyPropertiesParseParams()
|
D | huks_napi_import_key.cpp | 77 napi_throw_error(env, nullptr, "invalid arguments"); in ImportKeyParseParams()
|
D | huks_napi_is_key_exist.cpp | 70 napi_throw_error(env, nullptr, "invalid arguments"); in IsKeyExistParseParams()
|
D | huks_napi_init.cpp | 85 napi_throw_error(env, nullptr, "invalid arguments"); in ParseInitParams()
|
D | huks_napi_export_key.cpp | 77 napi_throw_error(env, nullptr, "invalid arguments"); in ExportKeyParseParams()
|
/base/time/time_service/framework/js/napi/common/include/ |
D | napi_utils.h | 33 napi_throw_error((env), code, message); \
|
/base/hiviewdfx/hichecker/interfaces/js/kits/napi/src/ |
D | napi_hichecker.cpp | 151 napi_throw_error(env, std::to_string(errCode).c_str(), errMap[errCode].c_str()); in ThrowError()
|