diff --git a/framework/js/napi/common/include/napi_utils.h b/framework/js/napi/common/include/napi_utils.h index cc5601c339f0058f5d6c2171a219474ebd1b4379..571104bb81468dea75622334ab8e11b0a58bb35a 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 {