Searched refs:ConvertToErrorCode (Results 1 – 3 of 3) sorted by relevance
311 SetInt32(env, error, "code", ConvertToErrorCode(businessError.errorNum)); in BuildThrowError()328 SetInt32(env, obj, "code", ConvertToErrorCode(businessError.errorNum)); in BuildBusinessError()333 int32_t NapiCommonUtils::ConvertToErrorCode(CallResult callResult) in ConvertToErrorCode() function in OHOS::UpdateEngine::NapiCommonUtils
60 static int32_t ConvertToErrorCode(CallResult callResult);
43 NapiCommonUtils::CreateUint32(env, CAST_UINT(NapiCommonUtils::ConvertToErrorCode(item)))}