Home
last modified time | relevance | path

Searched refs:eMsg (Results 1 – 3 of 3) sorted by relevance

/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
Dreminder_common.cpp613 napi_value eMsg = nullptr; in GetCallbackErrorValue() local
616 errMsg.length(), &eMsg)); in GetCallbackErrorValue()
619 NAPI_CALL(env, napi_set_named_property(env, error, "message", eMsg)); in GetCallbackErrorValue()
635 napi_value eMsg = nullptr; in SetPromise() local
638 errMsg.length(), &eMsg)); in SetPromise()
642 NAPI_CALL(env, napi_set_named_property(env, error, "message", eMsg)); in SetPromise()
660 napi_value eMsg = nullptr; in JSParaError() local
664 errMsg.length(), &eMsg)); in JSParaError()
668 NAPI_CALL(env, napi_set_named_property(env, res, "message", eMsg)); in JSParaError()
/base/location/frameworks/native/source/
Dnapi_util.cpp786 napi_value eMsg = nullptr; in GetErrorObject() local
788 NAPI_CALL(env, napi_create_string_utf8(env, errMsg.c_str(), errMsg.length(), &eMsg)); in GetErrorObject()
791 NAPI_CALL(env, napi_set_named_property(env, businessError, "message", eMsg)); in GetErrorObject()
/base/global/resource_management/interfaces/js/innerkits/core/src/
Dresource_manager_addon.cpp209 napi_value eMsg = nullptr; in GetCallbackErrorCode() local
211 napi_create_string_utf8(env, errMsg.c_str(), NAPI_AUTO_LENGTH, &eMsg); in GetCallbackErrorCode()
214 napi_set_named_property(env, error, "message", eMsg); in GetCallbackErrorCode()