/base/global/resource_management/interfaces/js/innerkits/core/src/ |
H A D | resource_manager_napi_sync_impl.cpp | 146 ResourceManagerNapiUtils::NapiThrow(env, ret); in GetRawFileListSync() 154 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_RES_PATH_INVALID); in GetRawFileListSync() 171 ResourceManagerNapiUtils::NapiThrow(env, ret); in GetRawFileContentSync() 179 ResourceManagerNapiUtils::NapiThrow(env, state); in GetRawFileContentSync() 195 ResourceManagerNapiUtils::NapiThrow(env, ret); in GetRawFdSync() 203 ResourceManagerNapiUtils::NapiThrow(env, state); in GetRawFdSync() 218 ResourceManagerNapiUtils::NapiThrow(env, ret); in CloseRawFdSync() 225 ResourceManagerNapiUtils::NapiThrow(env, state); in CloseRawFdSync() 327 ResourceManagerNapiUtils::NapiThrow(env, state); in ProcessStrResource() 342 ResourceManagerNapiUtils::NapiThrow(en in GetStringSync() [all...] |
H A D | resource_manager_napi_async_impl.cpp | 212 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_INVALID_INPUT_PARAMETER); in ProcessNameParamV9() 245 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_INVALID_INPUT_PARAMETER); in ProcessIdParamV9() 277 ResourceManagerNapiUtils::NapiThrow(env, retCode); in ProcessResourceParamV9() 285 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_INVALID_INPUT_PARAMETER); in ProcessResourceParamV9() 323 ResourceManagerNapiUtils::NapiThrow(env, retCode); in ProcessOnlyIdParam() 359 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_INVALID_INPUT_PARAMETER); in ProcessIdNameParam() 434 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_INVALID_INPUT_PARAMETER); in GetStringValue() 460 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_INVALID_INPUT_PARAMETER); in GetStringByName() 507 ResourceManagerNapiUtils::NapiThrow(env, ERROR_CODE_INVALID_INPUT_PARAMETER); in GetStringArrayValue() 515 ResourceManagerNapiUtils::NapiThrow(en in GetStringArrayByName() [all...] |
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
H A D | napi_distributed_enable.cpp | 38 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParameters() 48 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 54 Common::NapiThrow(env, ERROR_PARAM_INVALID, PARAMETER_VERIFICATION_FAILED); in ParseParameters() 63 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 71 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParameters() 82 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 116 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiSetDistributedEnabledByBundle() 123 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiSetDistributedEnabledByBundle() 184 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParameters() 194 Common::NapiThrow(en in ParseParameters() [all...] |
H A D | napi_sync_config.cpp | 54 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParameters() 64 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 76 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 85 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 120 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiSetAdditionConfig() 130 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiSetAdditionConfig()
|
H A D | napi_remove_group.cpp | 39 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParameters() 48 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 54 Common::NapiThrow(env, ERROR_PARAM_INVALID, PARAMETER_VERIFICATION_FAILED); in ParseParameters() 63 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 117 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiRemoveGroupByBundle() 124 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiRemoveGroupByBundle()
|
H A D | napi_local_live_view.cpp | 35 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiSubscriteLocalAcitvity() 122 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseTriggerParameters() 132 Common::NapiThrow(env, ERROR_PARAM_INVALID, PARAMETER_VERIFICATION_FAILED); in ParseTriggerParameters() 141 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseTriggerParameters() 152 Common::NapiThrow(env, ERROR_PARAM_INVALID, PARAMETER_VERIFICATION_FAILED); in ParseTriggerParameters() 168 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiTriggerLocalLiveView() 173 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiTriggerLocalLiveView()
|
H A D | napi_display_badge.cpp | 32 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiDisplayBadge() 39 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiDisplayBadge() 120 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiIsBadgeDisplayed() 127 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiIsBadgeDisplayed() 182 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParameters() 194 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 203 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 213 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 253 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiSetBadgeNumber() 260 Common::NapiThrow(en in NapiSetBadgeNumber() [all...] |
H A D | napi_disturb_mode.cpp | 28 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiSetDoNotDisturbDate() 35 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiSetDoNotDisturbDate() 94 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiAddDoNotDisturbProfiles() 100 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiAddDoNotDisturbProfiles() 140 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiRemoveDoNotDisturbProfiles() 146 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiRemoveDoNotDisturbProfiles() 213 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetDoNotDisturbDate() 220 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiGetDoNotDisturbDate() 271 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiSupportDoNotDisturbMode() 280 Common::NapiThrow(en in NapiSupportDoNotDisturbMode() [all...] |
H A D | napi_cancel.cpp | 28 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiCancel() 41 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiCancel() 101 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiCancelAll() 107 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiCancelAll() 160 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiCancelGroup() 167 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiCancelGroup() 223 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiCancelAsBundle() 236 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiCancelAsBundle()
|
H A D | napi_distributed.cpp | 56 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiIsDistributedEnabled() 106 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiEnableDistributed() 114 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiEnableDistributed() 171 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiEnableDistributedByBundle() 233 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiEnableDistributedSelf() 324 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiIsDistributedEnableByBundle() 331 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiIsDistributedEnableByBundle() 412 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetDeviceRemindType() 418 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiGetDeviceRemindType() 460 Common::NapiThrow(en in NapiSetSyncNotificationEnabledWithoutApp() [all...] |
H A D | napi_publish.cpp | 29 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiPublish() 37 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiPublish() 98 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiShowNotification() 154 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiPublishAsBundle() 161 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiPublishAsBundle()
|
H A D | napi_slot.cpp | 28 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiAddSlot() 98 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiAddSlots() 106 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiAddSlots() 159 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiSetSlotByBundle() 251 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetSlot() 297 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetSlotNumByBundle() 304 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiGetSlotNumByBundle() 409 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetSlots() 500 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetSlotsByBundle() 507 Common::NapiThrow(en in NapiGetSlotsByBundle() [all...] |
H A D | napi_get_active.cpp | 82 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetAllActiveNotifications() 89 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiGetAllActiveNotifications() 180 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetActiveNotifications() 187 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiGetActiveNotifications() 255 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetActiveNotificationCount() 347 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseGetLiveViewParams() 355 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseGetLiveViewParams() 360 Common::NapiThrow(env, ERROR_PARAM_INVALID, PARAMETER_VERIFICATION_FAILED); in ParseGetLiveViewParams() 431 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiGetActiveNotificationByFilter()
|
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/ |
H A D | common_event_parse.cpp | 58 void NapiThrow(napi_env env, int32_t errCode) in NapiThrow() function 76 void NapiThrow(napi_env env, int32_t errCode, std::string &msg) in NapiThrow() function 131 NapiThrow(env, ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID, msg); in ParseParametersByCreateSubscriber() 191 NapiThrow(env, ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID, msg); in ParseParametersByGetSubscribeInfo() 228 NapiThrow(env, ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID, msg); in ParseParametersByIsOrderedCommonEvent() 264 NapiThrow(env, ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID, msg); in ParseParametersByIsStickyCommonEvent() 301 NapiThrow(env, ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID, msg); in ParseParametersByGetCode() 338 NapiThrow(env, ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID, msg); in ParseParametersBySetCode() 349 NapiThrow(env, ERR_NOTIFICATION_CES_COMMON_PARAM_INVALID, msg); in ParseParametersBySetCode() 433 NapiThrow(en in ParseParametersByGetData() [all...] |
/base/global/i18n/interfaces/js/kits/src/ |
H A D | i18n_system_addon.cpp | 309 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, "language", "string", true); in SetAppPreferredLanguage() 322 ErrorUtil::NapiThrow(env, I18N_NOT_VALID, "language", "a valid language", true); in SetAppPreferredLanguage() 384 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, "country or locale", "", throwError); in GetDisplayCountryImpl() 402 ErrorUtil::NapiThrow(env, I18N_NOT_VALID, "country", "a valid region", throwError); in GetDisplayCountryImpl() 405 ErrorUtil::NapiThrow(env, I18N_NOT_VALID, "locale", "a valid locale", throwError); in GetDisplayCountryImpl() 448 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, "language or locale", "", throwError); in GetDisplayLanguageImpl() 465 ErrorUtil::NapiThrow(env, I18N_NOT_VALID, "locale", "a valid locale", throwError); in GetDisplayLanguageImpl() 507 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, "language", "", throwError); in GetSystemCountriesImpl() 554 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, "language", "", throwError); in IsSuggestedImpl() 600 ErrorUtil::NapiThrow(en in SetSystemLanguageImpl() [all...] |
H A D | variable_convertor.cpp | 71 ErrorUtil::NapiThrow(env, I18N_NOT_VALID, optionName, "a valid object", true); in GetBoolOptionValue() 114 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, valueName, "", true); in GetStringArrayFromJsParam() 122 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, valueName, "an Array", true); in GetStringArrayFromJsParam() 169 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, valueName, type, true); in VerifyType() 171 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, valueName, type, true); in VerifyType()
|
H A D | entity_recognizer_addon.cpp | 78 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, "locale", "string", true); in constructor() 90 ErrorUtil::NapiThrow(env, I18N_NOT_VALID, "locale", "a valid locale", true); in constructor() 117 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, "text", "", true); in FindEntityInfo() 123 ErrorUtil::NapiThrow(env, I18N_NOT_FOUND, "text", "string", true); in FindEntityInfo()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | disturb_mode.cpp | 38 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in GetDoNotDisturbDate() 46 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in GetDoNotDisturbDate() 54 Common::NapiThrow(env, ERROR_PARAM_INVALID, PARAMETER_VERIFICATION_FAILED); in GetDoNotDisturbDate() 63 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in GetDoNotDisturbDate() 73 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in GetDoNotDisturbDate() 83 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in GetDoNotDisturbDate() 93 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in GetDoNotDisturbDate() 198 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParameters() 207 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParameters() 211 Common::NapiThrow(en in ParseParameters() [all...] |
H A D | slot.cpp | 218 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParametersByAddSlot() 228 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParametersByAddSlot() 268 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParametersByAddSlots() 279 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParametersByAddSlots() 287 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParametersByAddSlots() 297 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParametersByAddSlots() 332 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParametersSetSlotByBundle() 341 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParametersSetSlotByBundle() 347 Common::NapiThrow(env, ERROR_PARAM_INVALID, PARAMETER_VERIFICATION_FAILED); in ParseParametersSetSlotByBundle() 356 Common::NapiThrow(en in ParseParametersSetSlotByBundle() [all...] |
H A D | distributed.cpp | 40 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParameters() 50 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 78 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParameters() 88 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 94 Common::NapiThrow(env, ERROR_PARAM_INVALID, PARAMETER_VERIFICATION_FAILED); in ParseParameters() 103 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 131 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParameters() 141 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 147 Common::NapiThrow(env, ERROR_PARAM_INVALID, PARAMETER_VERIFICATION_FAILED); in ParseParameters() 160 Common::NapiThrow(en in ParseParameters() [all...] |
H A D | display_badge.cpp | 36 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParameters() 46 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 53 Common::NapiThrow(env, ERROR_PARAM_INVALID, PARAMETER_VERIFICATION_FAILED); in ParseParameters() 62 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 91 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParameters() 102 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 110 Common::NapiThrow(env, ERROR_PARAM_INVALID, PARAMETER_VERIFICATION_FAILED); in ParseParameters()
|
H A D | cancel.cpp | 38 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParameters() 48 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 58 Common::NapiThrow(env, ERROR_PARAM_INVALID, PARAMETER_VERIFICATION_FAILED); in ParseParameters() 74 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 98 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 127 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParameters() 137 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 362 Common::NapiThrow(env, ERROR_PARAM_INVALID, MANDATORY_PARAMETER_ARE_LEFT_UNSPECIFIED); in ParseParameters() 372 Common::NapiThrow(env, ERROR_PARAM_INVALID, msg); in ParseParameters() 381 Common::NapiThrow(en in ParseParameters() [all...] |
/base/notification/distributed_notification_service/frameworks/js/napi/src/subscribe/ |
H A D | napi_subscribe.cpp | 31 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiSubscribe() 39 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiSubscribe() 113 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiSubscribeSelf() 121 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiSubscribeSelf() 183 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiUnsubscribe() 190 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiUnsubscribe()
|
H A D | napi_remove.cpp | 70 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiRemove() 75 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiRemove() 100 Common::NapiThrow(env, ERROR_PARAM_INVALID); in NapiRemoveAll() 107 Common::NapiThrow(env, ERROR_INTERNAL_ERROR); in NapiRemoveAll()
|
/base/global/i18n/interfaces/js/kits/include/ |
H A D | error_util.h | 38 static void NapiThrow(napi_env env, int32_t errCode, const std::string& valueName,
|