From f6e6164e8f6c4eb45dc498ad8e2d04328f65ba92 Mon Sep 17 00:00:00 2001 From: ljy9810 Date: Mon, 1 Sep 2025 19:41:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=97=B6=E5=8C=BA=20std::map?= =?UTF-8?q?=20=E6=93=8D=E4=BD=9C=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ljy9810 --- framework/js/napi/common/include/napi_utils.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/js/napi/common/include/napi_utils.h b/framework/js/napi/common/include/napi_utils.h index cc5601c3..571104bb 100644 --- a/framework/js/napi/common/include/napi_utils.h +++ b/framework/js/napi/common/include/napi_utils.h @@ -118,6 +118,8 @@ const std::map CODE_TO_MESSAGE = { { JsErrorCode::PARAMETER_ERROR, "Parameter error" }, { JsErrorCode::PERMISSION_ERROR, "Permission denied" }, { JsErrorCode::ERROR, "Parameter check failed, permission denied, or system error." }, + { JsErrorCode::NTP_UPDATE_ERROR, "Ntp update error" }, + { JsErrorCode::NTP_NOT_UPDATE_ERROR, "Ntp not update error" }, }; class NapiUtils { -- Gitee