Home
last modified time | relevance | path

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

/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/common/helper/
H A Derror_helper.h40 napi_value concurrentError = nullptr; variable
137 napi_create_error(env, nullptr, msg, &concurrentError);
138 napi_set_named_property(env, concurrentError, "code", code);
139 napi_set_named_property(env, concurrentError, "name", name);
140 return concurrentError;
145 napi_value concurrentError = NewError(env, errCode, errMessage);
146 napi_throw(env, concurrentError);