Searched refs:formErrorCode (Results 1 – 1 of 1) sorted by relevance
501 …bool ParseParameter(napi_env env, napi_value *argv, int32_t &formErrorCode, std::string &messageIn… in ParseParameter() argument518 if (napi_get_value_int32(env, publishFormErrorCode, &formErrorCode) != napi_ok) { in ParseParameter()522 if (formErrorCode < static_cast<int32_t>(Constants::PublishFormErrorCode::SUCCESS) || in ParseParameter()523 … formErrorCode > static_cast<int32_t>(Constants::PublishFormErrorCode::INTERNAL_ERROR)) { in ParseParameter()1787 int32_t formErrorCode = INVALID_FORM_RESULT_ERRCODE; in OnSetPublishFormResult() local1788 if (!ParseParameter(env, argv, formErrorCode, messageInfo)) { in OnSetPublishFormResult()1796 … publishFormResult.code = static_cast<AppExecFwk::Constants::PublishFormErrorCode>(formErrorCode); in OnSetPublishFormResult()