Searched refs:errCode (Results 1 - 9 of 9) sorted by relevance
/commonlibrary/c_utils/base/include/ |
H A D | errors.h | 145 #define SUCCEEDED(errCode) ((errCode) == ERR_OK) 146 #define FAILED(errCode) ((errCode) != ERR_OK)
|
/commonlibrary/ets_utils/tools/ |
H A D | ets_error.h | 30 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 D | nativeapi_common.cpp | 44 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 D | error_helper.h | 37 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 D | worker.h | 371 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 D | worker.cpp | 1611 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 D | js_textdecoder.cpp | 305 uint32_t errCode = 10200019; in ThrowError() local 306 napi_create_uint32(env, errCode, &code); in ThrowError()
|
H A D | native_module_util.cpp | 130 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 D | native_module_process.cpp | 510 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 15 milliseconds