Home
last modified time | relevance | path

Searched refs:errCode (Results 1 - 9 of 9) sorted by relevance

/commonlibrary/c_utils/base/include/
H A Derrors.h145 #define SUCCEEDED(errCode) ((errCode) == ERR_OK)
146 #define FAILED(errCode) ((errCode) != ERR_OK)
/commonlibrary/ets_utils/tools/
H A Dets_error.h30 static napi_value ThrowError(napi_env env, int32_t errCode, const char* errMessage) in ThrowError() argument
39 napi_create_int32(env, errCode, &code); in ThrowError()
/commonlibrary/utils_lite/js/builtin/common/src/
H A Dnativeapi_common.cpp44 JSIValue errCode = JSI::CreateNumber(ret); in FailCallBack() local
47 JSIValue argv[ARGC_TWO] = {errInfo, errCode}; in FailCallBack()
54 JSI::ReleaseValueList(fail, complete, errInfo, errCode, ARGS_END); in FailCallBack()
/commonlibrary/ets_utils/js_concurrent_module/common/helper/
H A Derror_helper.h37 static napi_value NewError(napi_env env, int32_t errCode, const char* errMessage = nullptr) in NewError() argument
43 napi_create_uint32(env, errCode, &code); in NewError()
47 switch (errCode) { in NewError()
143 static void ThrowError(napi_env env, int32_t errCode, const char* errMessage = nullptr) in ThrowError() argument
145 napi_value concurrentError = NewError(env, errCode, errMessage); in ThrowError()
/commonlibrary/ets_utils/js_concurrent_module/worker/
H A Dworker.h371 static void WorkerThrowError(napi_env env, int32_t errCode, const char* errMessage = nullptr);
538 void AddGlobalCallError(int32_t errCode, napi_value errData = nullptr);
H A Dworker.cpp1611 void Worker::AddGlobalCallError(int32_t errCode, napi_value errData) in AddGlobalCallError() argument
1613 globalCallErrors_.push({errCode, errData}); in AddGlobalCallError()
1621 int32_t errCode = pair.first; in HandleGlobalCallError() local
1622 ErrorHelper::ThrowError(env, errCode); in HandleGlobalCallError()
2344 void Worker::WorkerThrowError(napi_env env, int32_t errCode, const char* errMessage) in WorkerThrowError() argument
2352 ErrorHelper::ThrowError(env, errCode, errMessage); in WorkerThrowError()
/commonlibrary/ets_utils/js_util_module/util/
H A Djs_textdecoder.cpp305 uint32_t errCode = 10200019; in ThrowError() local
306 napi_create_uint32(env, errCode, &code); in ThrowError()
H A Dnative_module_util.cpp130 uint32_t errCode = 401; in ThrowError() local
131 napi_create_uint32(env, errCode, &code); in ThrowError()
/commonlibrary/ets_utils/js_sys_module/process/
H A Dnative_module_process.cpp510 uint32_t errCode = 401; // 401:The code parameter of this error is 401 in ThrowError() local
511 napi_create_uint32(env, errCode, &code); in ThrowError()

Completed in 12 milliseconds