Ai
1.4K Star 7.6K Fork 8.2K

OpenHarmony/docs
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
7.diff 2.92 KB
一键复制 编辑 原始数据 按行查看 历史
xuxc 提交于 2025-05-12 15:24 +08:00 . update filemanagement api error info
From 1de7bd49d4f04f13bf44b6bed9a815414f70f3e8 Mon Sep 17 00:00:00 2001
From: xuxc <xuxiaochan1@huawei.com>
Date: Thu, 8 May 2025 20:28:00 +0800
Subject: [PATCH] update filemanagement api error info
Signed-off-by: xuxc <xuxiaochan1@huawei.com>
---
.../errorcode-filemanagement.md | 62 +++++++++++++++++++
.../js-apis-file-cloudsync-sys.md | 2 +-
2 files changed, 63 insertions(+), 1 deletion(-)
diff --git a/zh-cn/application-dev/reference/apis-core-file-kit/errorcode-filemanagement.md b/zh-cn/application-dev/reference/apis-core-file-kit/errorcode-filemanagement.md
index ec90f3a7e96..79fe7d01fb2 100644
--- a/zh-cn/application-dev/reference/apis-core-file-kit/errorcode-filemanagement.md
+++ b/zh-cn/application-dev/reference/apis-core-file-kit/errorcode-filemanagement.md
@@ -1067,3 +1067,65 @@ Low battery level
**处理步骤**
充电状态或电量恢复后再执行。
+
+### 22400004 入参请求超过最大限制
+
+**错误信息**
+
+Exceeded the maximum limit
+
+**可能原因**
+
+请求数量超过接口规格定义的上限。
+
+**处理步骤**
+
+检查入参,保证请求数量符合规格要求。
+
+### 22400005 内部错误
+
+**错误信息**
+
+Inner error
+
+**可能原因**
+
+1.系统内部数据库请求失败或者SQL执行失败。
+
+2.系统出现空指针等异常。
+
+3.系统内存不足或内存异常。
+
+4.JS框架异常。
+
+**处理步骤**
+
+系统基础能力问题,<!--RP1-->请向OpenHarmony团队反馈,获取支持。<!--RP1End-->
+
+### 22400006 已经有同类型任务正在运行
+
+**错误信息**
+
+The same task is already in progress
+
+**可能原因**
+
+有同类型任务正在运行。
+
+**处理步骤**
+
+等待现有同类型任务完成,或通过调用对应业务的stop接口终止现有任务后,再触发新任务。
+
+### 22400007 指定用于替换原始文件的历史版本文件不存在
+
+**错误信息**
+
+The version file specified to replace the original file does not exist
+
+**可能原因**
+
+历史版本文件未下载或已删除。
+
+**处理步骤**
+
+重新下载指定的历史版本文件,保证文件存在。
diff --git a/zh-cn/application-dev/reference/apis-core-file-kit/js-apis-file-cloudsync-sys.md b/zh-cn/application-dev/reference/apis-core-file-kit/js-apis-file-cloudsync-sys.md
index 4d257bceb25..e3c65ac2ff3 100644
--- a/zh-cn/application-dev/reference/apis-core-file-kit/js-apis-file-cloudsync-sys.md
+++ b/zh-cn/application-dev/reference/apis-core-file-kit/js-apis-file-cloudsync-sys.md
@@ -1033,7 +1033,7 @@ startOptimizeSpace的使用和stopOptimizeSpace方法调用一一对应,重复
| 401 | The input parameter is invalid. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. |
| 13600001 | IPC error. |
| 22400005 | Inner error. |
-| 22400006 | Other optimize task is running. |
+| 22400006 | The same task is already in progress. |
**示例:**
--
Gitee
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
其他
1
https://gitee.com/openharmony/docs.git
git@gitee.com:openharmony/docs.git
openharmony
docs
docs
OpenHarmony-feature-20250512

搜索帮助