Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
99efbc8b
D
Docs
项目概览
OpenHarmony
/
Docs
大约 2 年 前同步成功
通知
161
Star
293
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看板
提交
99efbc8b
编写于
12月 06, 2022
作者:
Z
zengyawen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
错误码文件名规范修改
Signed-off-by:
N
zengyawen
<
zengyawen1@huawei.com
>
上级
e13d5521
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
40 addition
and
39 deletion
+40
-39
zh-cn/application-dev/reference/apis/js-apis-app-form-formhost.md
...plication-dev/reference/apis/js-apis-app-form-formhost.md
+28
-28
zh-cn/application-dev/reference/apis/js-apis-app-form-formprovider.md
...ation-dev/reference/apis/js-apis-app-form-formprovider.md
+10
-10
zh-cn/application-dev/reference/apis/js-apis-formerror.md
zh-cn/application-dev/reference/apis/js-apis-formerror.md
+1
-1
zh-cn/application-dev/reference/errorcodes/Readme-CN.md
zh-cn/application-dev/reference/errorcodes/Readme-CN.md
+1
-0
zh-cn/application-dev/reference/errorcodes/errorcode-form.md
zh-cn/application-dev/reference/errorcodes/errorcode-form.md
+0
-0
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-app-form-formhost.md
浏览文件 @
99efbc8b
...
@@ -32,7 +32,7 @@ deleteForm(formId: string, callback: AsyncCallback<void>): void
...
@@ -32,7 +32,7 @@ deleteForm(formId: string, callback: AsyncCallback<void>): void
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501001 | The ID of the form to be operated does not exist. |
| 16501001 | The ID of the form to be operated does not exist. |
...
@@ -81,7 +81,7 @@ deleteForm(formId: string): Promise<void>
...
@@ -81,7 +81,7 @@ deleteForm(formId: string): Promise<void>
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501001 | The ID of the form to be operated does not exist. |
| 16501001 | The ID of the form to be operated does not exist. |
...
@@ -121,7 +121,7 @@ releaseForm(formId: string, callback: AsyncCallback<void>): void
...
@@ -121,7 +121,7 @@ releaseForm(formId: string, callback: AsyncCallback<void>): void
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501001 | The ID of the form to be operated does not exist. |
| 16501001 | The ID of the form to be operated does not exist. |
...
@@ -162,7 +162,7 @@ releaseForm(formId: string, isReleaseCache: boolean, callback: AsyncCallback<
...
@@ -162,7 +162,7 @@ releaseForm(formId: string, isReleaseCache: boolean, callback: AsyncCallback<
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501001 | The ID of the form to be operated does not exist. |
| 16501001 | The ID of the form to be operated does not exist. |
...
@@ -208,7 +208,7 @@ releaseForm(formId: string, isReleaseCache?: boolean): Promise<void>
...
@@ -208,7 +208,7 @@ releaseForm(formId: string, isReleaseCache?: boolean): Promise<void>
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501001 | The ID of the form to be operated does not exist. |
| 16501001 | The ID of the form to be operated does not exist. |
...
@@ -248,7 +248,7 @@ requestForm(formId: string, callback: AsyncCallback<void>): void
...
@@ -248,7 +248,7 @@ requestForm(formId: string, callback: AsyncCallback<void>): void
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501001 | The ID of the form to be operated does not exist. |
| 16501001 | The ID of the form to be operated does not exist. |
...
@@ -293,7 +293,7 @@ requestForm(formId: string): Promise<void>
...
@@ -293,7 +293,7 @@ requestForm(formId: string): Promise<void>
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501001 | The ID of the form to be operated does not exist. |
| 16501001 | The ID of the form to be operated does not exist. |
...
@@ -334,7 +334,7 @@ castTempForm(formId: string, callback: AsyncCallback<void>): void
...
@@ -334,7 +334,7 @@ castTempForm(formId: string, callback: AsyncCallback<void>): void
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501001 | The ID of the form to be operated does not exist. |
| 16501001 | The ID of the form to be operated does not exist. |
...
@@ -379,7 +379,7 @@ castTempForm(formId: string): Promise<void>
...
@@ -379,7 +379,7 @@ castTempForm(formId: string): Promise<void>
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501001 | The ID of the form to be operated does not exist. |
| 16501001 | The ID of the form to be operated does not exist. |
...
@@ -419,7 +419,7 @@ notifyVisibleForms(formIds: Array<string>, callback: AsyncCallback<void
...
@@ -419,7 +419,7 @@ notifyVisibleForms(formIds: Array<string>, callback: AsyncCallback<void
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501000 | A functional error occurred. |
| 16501000 | A functional error occurred. |
...
@@ -463,7 +463,7 @@ notifyVisibleForms(formIds: Array<string>): Promise<void>
...
@@ -463,7 +463,7 @@ notifyVisibleForms(formIds: Array<string>): Promise<void>
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501000 | A functional error occurred. |
| 16501000 | A functional error occurred. |
...
@@ -502,7 +502,7 @@ notifyInvisibleForms(formIds: Array<string>, callback: AsyncCallback<vo
...
@@ -502,7 +502,7 @@ notifyInvisibleForms(formIds: Array<string>, callback: AsyncCallback<vo
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501000 | A functional error occurred. |
| 16501000 | A functional error occurred. |
...
@@ -546,7 +546,7 @@ notifyInvisibleForms(formIds: Array<string>): Promise<void>
...
@@ -546,7 +546,7 @@ notifyInvisibleForms(formIds: Array<string>): Promise<void>
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501000 | A functional error occurred. |
| 16501000 | A functional error occurred. |
...
@@ -585,7 +585,7 @@ enableFormsUpdate(formIds: Array<string>, callback: AsyncCallback<void&
...
@@ -585,7 +585,7 @@ enableFormsUpdate(formIds: Array<string>, callback: AsyncCallback<void&
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501000 | A functional error occurred. |
| 16501000 | A functional error occurred. |
...
@@ -630,7 +630,7 @@ enableFormsUpdate(formIds: Array<string>): Promise<void>
...
@@ -630,7 +630,7 @@ enableFormsUpdate(formIds: Array<string>): Promise<void>
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501000 | A functional error occurred. |
| 16501000 | A functional error occurred. |
...
@@ -670,7 +670,7 @@ disableFormsUpdate(formIds: Array<string>, callback: AsyncCallback<void
...
@@ -670,7 +670,7 @@ disableFormsUpdate(formIds: Array<string>, callback: AsyncCallback<void
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501000 | A functional error occurred. |
| 16501000 | A functional error occurred. |
...
@@ -715,7 +715,7 @@ disableFormsUpdate(formIds: Array<string>): Promise<void>
...
@@ -715,7 +715,7 @@ disableFormsUpdate(formIds: Array<string>): Promise<void>
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501000 | A functional error occurred. |
| 16501000 | A functional error occurred. |
...
@@ -875,7 +875,7 @@ getFormsInfo(bundleName: string, callback: AsyncCallback<Array<formInfo.Fo
...
@@ -875,7 +875,7 @@ getFormsInfo(bundleName: string, callback: AsyncCallback<Array<formInfo.Fo
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16500100 | Failed to obtain configuration information. |
| 16500100 | Failed to obtain configuration information. |
...
@@ -916,7 +916,7 @@ getFormsInfo(bundleName: string, moduleName: string, callback: AsyncCallback<
...
@@ -916,7 +916,7 @@ getFormsInfo(bundleName: string, moduleName: string, callback: AsyncCallback<
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16500100 | Failed to obtain configuration information. |
| 16500100 | Failed to obtain configuration information. |
...
@@ -962,7 +962,7 @@ getFormsInfo(bundleName: string, moduleName?: string): Promise<Array<formI
...
@@ -962,7 +962,7 @@ getFormsInfo(bundleName: string, moduleName?: string): Promise<Array<formI
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16500100 | Failed to obtain configuration information. |
| 16500100 | Failed to obtain configuration information. |
...
@@ -1071,7 +1071,7 @@ acquireFormState(want: Want, callback: AsyncCallback<formInfo.FormStateInfo&g
...
@@ -1071,7 +1071,7 @@ acquireFormState(want: Want, callback: AsyncCallback<formInfo.FormStateInfo&g
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501000 | A functional error occurred. |
| 16501000 | A functional error occurred. |
...
@@ -1126,7 +1126,7 @@ acquireFormState(want: Want): Promise<formInfo.FormStateInfo>
...
@@ -1126,7 +1126,7 @@ acquireFormState(want: Want): Promise<formInfo.FormStateInfo>
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501000 | A functional error occurred. |
| 16501000 | A functional error occurred. |
...
@@ -1223,7 +1223,7 @@ notifyFormsVisible(formIds: Array<string>, isVisible: boolean, callback: A
...
@@ -1223,7 +1223,7 @@ notifyFormsVisible(formIds: Array<string>, isVisible: boolean, callback: A
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501003 | The form can not be operated by the current application. |
| 16501003 | The form can not be operated by the current application. |
...
@@ -1268,7 +1268,7 @@ notifyFormsVisible(formIds: Array<string>, isVisible: boolean): Promise<
...
@@ -1268,7 +1268,7 @@ notifyFormsVisible(formIds: Array<string>, isVisible: boolean): Promise<
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501003 | The form can not be operated by the current application. |
| 16501003 | The form can not be operated by the current application. |
...
@@ -1308,7 +1308,7 @@ notifyFormsEnableUpdate(formIds: Array<string>, isEnableUpdate: boolean, c
...
@@ -1308,7 +1308,7 @@ notifyFormsEnableUpdate(formIds: Array<string>, isEnableUpdate: boolean, c
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501003 | The form can not be operated by the current application. |
| 16501003 | The form can not be operated by the current application. |
...
@@ -1353,7 +1353,7 @@ notifyFormsEnableUpdate(formIds: Array<string>, isEnableUpdate: boolean):
...
@@ -1353,7 +1353,7 @@ notifyFormsEnableUpdate(formIds: Array<string>, isEnableUpdate: boolean):
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501003 | The form can not be operated by the current application. |
| 16501003 | The form can not be operated by the current application. |
...
@@ -1392,7 +1392,7 @@ shareForm(formId: string, deviceId: string, callback: AsyncCallback<void>)
...
@@ -1392,7 +1392,7 @@ shareForm(formId: string, deviceId: string, callback: AsyncCallback<void>)
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16500100 | Failed to obtain configuration information. |
| 16500100 | Failed to obtain configuration information. |
...
@@ -1440,7 +1440,7 @@ shareForm(formId: string, deviceId: string): Promise<void>
...
@@ -1440,7 +1440,7 @@ shareForm(formId: string, deviceId: string): Promise<void>
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16500100 | Failed to obtain configuration information. |
| 16500100 | Failed to obtain configuration information. |
...
...
zh-cn/application-dev/reference/apis/js-apis-app-form-formprovider.md
浏览文件 @
99efbc8b
...
@@ -27,7 +27,7 @@ setFormNextRefreshTime(formId: string, minute: number, callback: AsyncCallback&l
...
@@ -27,7 +27,7 @@ setFormNextRefreshTime(formId: string, minute: number, callback: AsyncCallback&l
| minute | number | 是 | 指定多久之后更新,单位分钟,大于等于5。 |
| minute | number | 是 | 指定多久之后更新,单位分钟,大于等于5。 |
| callback | AsyncCallback
<
void
>
| 是 | 回调函数。 |
| callback | AsyncCallback
<
void
>
| 是 | 回调函数。 |
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16500100 | Failed to obtain configuration information. |
| 16500100 | Failed to obtain configuration information. |
...
@@ -75,7 +75,7 @@ setFormNextRefreshTime(formId: string, minute: number): Promise<void>
...
@@ -75,7 +75,7 @@ setFormNextRefreshTime(formId: string, minute: number): Promise<void>
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16500100 | Failed to obtain configuration information. |
| 16500100 | Failed to obtain configuration information. |
...
@@ -116,7 +116,7 @@ updateForm(formId: string, formBindingData: formBindingData.FormBindingData,call
...
@@ -116,7 +116,7 @@ updateForm(formId: string, formBindingData: formBindingData.FormBindingData,call
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501001 | The ID of the form to be operated does not exist. |
| 16501001 | The ID of the form to be operated does not exist. |
...
@@ -163,7 +163,7 @@ updateForm(formId: string, formBindingData: formBindingData.FormBindingData): Pr
...
@@ -163,7 +163,7 @@ updateForm(formId: string, formBindingData: formBindingData.FormBindingData): Pr
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501001 | The ID of the form to be operated does not exist. |
| 16501001 | The ID of the form to be operated does not exist. |
...
@@ -201,7 +201,7 @@ getFormsInfo(callback: AsyncCallback<Array<formInfo.FormInfo>>): voi
...
@@ -201,7 +201,7 @@ getFormsInfo(callback: AsyncCallback<Array<formInfo.FormInfo>>): voi
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16500100 | Failed to obtain configuration information. |
| 16500100 | Failed to obtain configuration information. |
...
@@ -239,7 +239,7 @@ getFormsInfo(filter: formInfo.FormInfoFilter, callback: AsyncCallback<Array&l
...
@@ -239,7 +239,7 @@ getFormsInfo(filter: formInfo.FormInfoFilter, callback: AsyncCallback<Array&l
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16500100 | Failed to obtain configuration information. |
| 16500100 | Failed to obtain configuration information. |
...
@@ -287,7 +287,7 @@ getFormsInfo(filter?: formInfo.FormInfoFilter): Promise<Array<formInfo.For
...
@@ -287,7 +287,7 @@ getFormsInfo(filter?: formInfo.FormInfoFilter): Promise<Array<formInfo.For
**错误码:**
**错误码:**
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16500100 | Failed to obtain configuration information. |
| 16500100 | Failed to obtain configuration information. |
...
@@ -329,7 +329,7 @@ requestPublishForm(want: Want, formBindingData: formBindingData.FormBindingData,
...
@@ -329,7 +329,7 @@ requestPublishForm(want: Want, formBindingData: formBindingData.FormBindingData,
| formBindingData |
[
FormBindingData
](
js-apis-formbindingdata.md#formbindingdata
)
| 是 | 创建卡片的数据。 |
| formBindingData |
[
FormBindingData
](
js-apis-formbindingdata.md#formbindingdata
)
| 是 | 创建卡片的数据。 |
| callback | AsyncCallback
<
string
>
| 是 | 回调函数。返回卡片标识。 |
| callback | AsyncCallback
<
string
>
| 是 | 回调函数。返回卡片标识。 |
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501000 | A functional error occurred. |
| 16501000 | A functional error occurred. |
...
@@ -377,7 +377,7 @@ requestPublishForm(want: Want, callback: AsyncCallback<string>): void
...
@@ -377,7 +377,7 @@ requestPublishForm(want: Want, callback: AsyncCallback<string>): void
| want |
[
Want
](
js-apis-application-Want.md
)
| 是 | 发布请求。需包含以下字段。
<br>
abilityName: 目标卡片ability
<br>
parameters:
<br>
"ohos.extra.param.key.form_dimension"
<br>
"ohos.extra.param.key.form_name"
<br>
"ohos.extra.param.key.module_name" |
| want |
[
Want
](
js-apis-application-Want.md
)
| 是 | 发布请求。需包含以下字段。
<br>
abilityName: 目标卡片ability
<br>
parameters:
<br>
"ohos.extra.param.key.form_dimension"
<br>
"ohos.extra.param.key.form_name"
<br>
"ohos.extra.param.key.module_name" |
| callback | AsyncCallback
<
string
>
| 是 | 回调函数。返回卡片标识。 |
| callback | AsyncCallback
<
string
>
| 是 | 回调函数。返回卡片标识。 |
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501000 | A functional error occurred. |
| 16501000 | A functional error occurred. |
...
@@ -430,7 +430,7 @@ requestPublishForm(want: Want, formBindingData?: formBindingData.FormBindingData
...
@@ -430,7 +430,7 @@ requestPublishForm(want: Want, formBindingData?: formBindingData.FormBindingData
| :------------ | :---------------------------------- |
| :------------ | :---------------------------------- |
| Promise
<
string
>
| Promise对象。返回卡片标识。 |
| Promise
<
string
>
| Promise对象。返回卡片标识。 |
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/errcode-form.md
)
。
以下错误码的详细介绍请参见
[
卡片错误码
](
../errorcodes/err
or
code-form.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| -------- | -------- |
| -------- | -------- |
| 16501000 | A functional error occurred. |
| 16501000 | A functional error occurred. |
...
...
zh-cn/application-dev/reference/apis/js-apis-formerror.md
浏览文件 @
99efbc8b
...
@@ -5,7 +5,7 @@ FormError模块提供获取卡片错误码的能力。
...
@@ -5,7 +5,7 @@ FormError模块提供获取卡片错误码的能力。
> **说明:**
> **说明:**
>
>
> 本模块首批接口从API version 8开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
> 本模块首批接口从API version 8开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
> 从API version 9 开始不再维护,建议使用[Form错误码](../errorcodes/errcode-form.md)替代。
> 从API version 9 开始不再维护,建议使用[Form错误码](../errorcodes/err
or
code-form.md)替代。
## 导入模块
## 导入模块
...
...
zh-cn/application-dev/reference/errorcodes/Readme-CN.md
浏览文件 @
99efbc8b
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
-
Ability框架
-
Ability框架
-
[
元能力子系统错误码
](
errorcode-ability.md
)
-
[
元能力子系统错误码
](
errorcode-ability.md
)
-
[
DistributedSchedule错误码
](
errorcode-DistributedSchedule.md
)
-
[
DistributedSchedule错误码
](
errorcode-DistributedSchedule.md
)
-
[
卡片错误码
](
errorcode-form.md
)
-
包管理
-
包管理
-
[
包管理子系统通用错误码
](
errorcode-bundle.md
)
-
[
包管理子系统通用错误码
](
errorcode-bundle.md
)
-
[
zlib子系统错误码
](
errorcode-zlib.md
)
-
[
zlib子系统错误码
](
errorcode-zlib.md
)
...
...
zh-cn/application-dev/reference/errorcodes/errcode-form.md
→
zh-cn/application-dev/reference/errorcodes/err
or
code-form.md
浏览文件 @
99efbc8b
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录