Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
8ce8cd1b
D
Docs
项目概览
OpenHarmony
/
Docs
1 年多 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
8ce8cd1b
编写于
5月 25, 2023
作者:
O
openharmony_ci
提交者:
Gitee
5月 25, 2023
浏览文件
操作
浏览文件
下载
差异文件
!18449 modify error code description
Merge pull request !18449 from 李芮/dts_doc_same
上级
b65ebad0
f20d365f
变更
6
展开全部
隐藏空白更改
内联
并排
Showing
6 changed file
with
307 addition
and
90 deletion
+307
-90
zh-cn/application-dev/reference/apis/js-apis-data-dataShare.md
.../application-dev/reference/apis/js-apis-data-dataShare.md
+2
-2
zh-cn/application-dev/reference/apis/js-apis-data-preferences.md
...pplication-dev/reference/apis/js-apis-data-preferences.md
+2
-2
zh-cn/application-dev/reference/apis/js-apis-data-relationalStore.md
...cation-dev/reference/apis/js-apis-data-relationalStore.md
+277
-78
zh-cn/application-dev/reference/errorcodes/errorcode-data-rdb.md
...pplication-dev/reference/errorcodes/errorcode-data-rdb.md
+24
-6
zh-cn/application-dev/reference/errorcodes/errorcode-datashare.md
...plication-dev/reference/errorcodes/errorcode-datashare.md
+1
-1
zh-cn/application-dev/reference/errorcodes/errorcode-preferences.md
...ication-dev/reference/errorcodes/errorcode-preferences.md
+1
-1
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-data-dataShare.md
浏览文件 @
8ce8cd1b
...
...
@@ -65,7 +65,7 @@ createDataShareHelper(context: Context, uri: string, callback: AsyncCallback<
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------------------- |
| 15700010 | The
d
ataShareHelper is not initialized successfully. |
| 15700010 | The
D
ataShareHelper is not initialized successfully. |
**示例:**
...
...
@@ -120,7 +120,7 @@ createDataShareHelper(context: Context, uri: string): Promise<DataShareHelper
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------------------- |
| 15700010 | The
d
ataShareHelper is not initialized successfully. |
| 15700010 | The
D
ataShareHelper is not initialized successfully. |
**示例:**
...
...
zh-cn/application-dev/reference/apis/js-apis-data-preferences.md
浏览文件 @
8ce8cd1b
...
...
@@ -185,7 +185,7 @@ deletePreferences(context: Context, name: string, callback: AsyncCallback<voi
| 错误码ID | 错误信息 |
| -------- | ------------------------------|
| 15500010 | Failed to delete preferences. |
| 15500010 | Failed to delete preferences
file
. |
**示例:**
...
...
@@ -262,7 +262,7 @@ deletePreferences(context: Context, name: string): Promise<void>
| 错误码ID | 错误信息 |
| -------- | ------------------------------|
| 15500010 | Failed to delete preferences. |
| 15500010 | Failed to delete preferences
file
. |
**示例:**
...
...
zh-cn/application-dev/reference/apis/js-apis-data-relationalStore.md
浏览文件 @
8ce8cd1b
此差异已折叠。
点击以展开。
zh-cn/application-dev/reference/errorcodes/errorcode-data-rdb.md
浏览文件 @
8ce8cd1b
...
...
@@ -4,29 +4,47 @@
>
> 以下仅介绍本模块特有错误码,通用错误码请参考[通用错误码说明文档](errorcode-universal.md)。
## 14800000 内部错误
**错误信息**
Inner error.
**错误描述**
数据库底层发生错误。
**可能原因**
传入SQL语句非法等。
**处理步骤**
需通过日志信息确认错误发生原因。
## 14800010 数据库名称不合法
**错误信息**
Invalid database name
.
Failed to open or delete database by invalid database path
.
**错误描述**
数据库
名称
不合法。
数据库
路径
不合法。
**可能原因**
无效的数据库
名称,数据库名称为空或包含的字符超出1024字节
。
无效的数据库
路径
。
**处理步骤**
检查传入数据库
名称,检查数据库名称是否为空或包含的字符超出1024字节
。
检查传入数据库
路径
。
## 14800011 数据库文件损坏
**错误信息**
D
atabase corrupted.
Failed to open database by d
atabase corrupted.
**错误描述**
...
...
@@ -45,7 +63,7 @@ Database corrupted.
**错误信息**
The result set is
empty or the specified location is invalid.
The result set is empty or the specified location is invalid.
**错误描述**
...
...
zh-cn/application-dev/reference/errorcodes/errorcode-datashare.md
浏览文件 @
8ce8cd1b
...
...
@@ -8,7 +8,7 @@
**错误信息**
The
d
ataShareHelper is not initialized successfully.
The
D
ataShareHelper is not initialized successfully.
**错误描述**
...
...
zh-cn/application-dev/reference/errorcodes/errorcode-preferences.md
浏览文件 @
8ce8cd1b
...
...
@@ -7,7 +7,7 @@
## 15500010 删除用户首选项持久化文件失败
**错误信息**
Failed to delete preferences.
Failed to delete preferences
file
.
**错误描述**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录