Searched refs:outCode (Results 1 – 2 of 2) sorted by relevance
341 napi_value outCode = nullptr; in ThrowError() local343 NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, errorCode, &outCode)); in ThrowError()347 BUSINESS_ERROR_PROPERTY_CODE.c_str(), outCode)); in ThrowError()
460 int32_t outCode = TranformErrorCode(errorCode); in GenerateBusinessError() local461 NAPI_CALL(env, napi_create_int32(env, outCode, &code)); in GenerateBusinessError()