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.cpp690 napi_value eMsg = nullptr; in GetCallbackErrorValue() local
693 errMsg.length(), &eMsg)); in GetCallbackErrorValue()
696 NAPI_CALL(env, napi_set_named_property(env, error, "message", eMsg)); in GetCallbackErrorValue()
712 napi_value eMsg = nullptr; in SetPromise() local
715 errMsg.length(), &eMsg)); in SetPromise()
719 NAPI_CALL(env, napi_set_named_property(env, error, "message", eMsg)); in SetPromise()
737 napi_value eMsg = nullptr; in JSParaError() local
741 errMsg.length(), &eMsg)); in JSParaError()
745 NAPI_CALL(env, napi_set_named_property(env, res, "message", eMsg)); in JSParaError()
/base/global/resource_management/interfaces/js/innerkits/core/src/
Dresource_manager_napi_async_impl.cpp82 napi_value eMsg = nullptr; in GetCallbackErrorCode() local
84 napi_create_string_utf8(env, errMsg.c_str(), NAPI_AUTO_LENGTH, &eMsg); in GetCallbackErrorCode()
87 napi_set_named_property(env, error, "message", eMsg); in GetCallbackErrorCode()
/base/location/frameworks/native/source/
Dnapi_util.cpp814 napi_value eMsg = nullptr; in GetErrorObject() local
816 NAPI_CALL(env, napi_create_string_utf8(env, errMsg.c_str(), errMsg.length(), &eMsg)); in GetErrorObject()
819 NAPI_CALL(env, napi_set_named_property(env, businessError, "message", eMsg)); in GetErrorObject()