Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
2e33a939
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看板
未验证
提交
2e33a939
编写于
10月 11, 2022
作者:
O
openharmony_ci
提交者:
Gitee
10月 11, 2022
浏览文件
操作
浏览文件
下载
差异文件
!10475 template update
Merge pull request !10475 from LiAn/master
上级
30e55db4
861ce974
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
13 addition
and
6 deletion
+13
-6
zh-cn/contribute/template/errorcodes-template.md
zh-cn/contribute/template/errorcodes-template.md
+4
-6
zh-cn/contribute/template/js-template.md
zh-cn/contribute/template/js-template.md
+9
-0
未找到文件。
zh-cn/contribute/template/errorcodes-template.md
浏览文件 @
2e33a939
# xxx
*(子系统名)*
错误码
# xxx
(模块名,与API参考title保持一致)
错误码
> **说明:**
> **说明:**
>
>
> *1、所有的写作说明,在完成写作后,都要删除。*
> *1、所有的写作说明,在完成写作后,都要删除。*
>
>
> *2、错误码文档的命名规则:统一前缀,命名格式为errorcode-xxx
(具体子系统名)
.md。*
> *2、错误码文档的命名规则:统一前缀,命名格式为errorcode-xxx.md。*
| | 说明项 | 细则 |
| | 说明项 | 细则 |
| ---- | ------------------------------ | ------------------------------------------------------------ |
| ---- | ------------------------------ | ------------------------------------------------------------ |
...
@@ -25,11 +25,9 @@ This is repeat operation.
...
@@ -25,11 +25,9 @@ This is repeat operation.
> **说明:**
> **说明:**
>
>
> *1.描述**错误码所属的业务场景(比如开发xx业务、开发xx功能时)***。
> *描述**错误码所属的业务场景(比如开发xx业务、开发xx功能时)及出现异常的具体现象**,辅助开发者理解和处理异常*。
>
> *2.描述**出现异常的具体现象、产生位置(比如xx模块、xx类、xx接口等)**,辅助开发者理解和处理异常。*
当对同一窗口对象存在重复操作时,
xx模块(或xx类,或xx接口)会上报
此错误码。
当对同一窗口对象存在重复操作时,
系统会产生
此错误码。
### 可能原因
### 可能原因
...
...
zh-cn/contribute/template/js-template.md
浏览文件 @
2e33a939
...
@@ -155,6 +155,15 @@ import call from '@ohos.telephony.call';
...
@@ -155,6 +155,15 @@ import call from '@ohos.telephony.call';
| string | 返回值描述。取到返回值之后,可以用来做什么。 |
| string | 返回值描述。取到返回值之后,可以用来做什么。 |
| Promise
\<
Array
<
[
CustomType
](
#CustomType
)
>
> | 返回值描述。Promise写法参考总体写作说明第14项。 |
| Promise
\<
Array
<
[
CustomType
](
#CustomType
)
>
> | 返回值描述。Promise写法参考总体写作说明第14项。 |
**错误码**
:(可选,如不涉及可删除)
以下错误码的详细介绍请参见
[
ohos.window(窗口)错误码
](
)。*(链接到对应模块的“错误码参考”文档)*
| 错误码ID | 错误信息(此处仅提供错误抛出的关键信息) |
| -------- | ---------------------------------------- |
| 1300001 | This is repeat operation. |
| 1300002 | This window state is abnormally. |
**示例:**
**示例:**
```
js
```
js
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录