未验证 提交 036d4b9e 编写于 作者: O openharmony_ci 提交者: Gitee

!13227 更新事件通知错误码描述

Merge pull request !13227 from yangliang36/yl0105
......@@ -492,8 +492,8 @@ abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator();
abilityDelegator.getCurrentTopAbility((err : any, data : any) => {
console.info('getCurrentTopAbility callback');
ability = data;
abilityDelegator.doAbilityForeground(ability, (err : any, data : any) => {
console.info('doAbilityForeground callback');
abilityDelegator.doAbilityForeground(ability, (err : any) => {
console.info("doAbilityForeground callback");
});
});
```
......@@ -528,8 +528,8 @@ abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator();
abilityDelegator.getCurrentTopAbility((err : any, data : any) => {
console.info('getCurrentTopAbility callback');
ability = data;
abilityDelegator.doAbilityForeground(ability).then((data : any) => {
console.info('doAbilityForeground promise');
abilityDelegator.doAbilityForeground(ability).then(() => {
console.info("doAbilityForeground promise");
});
});
```
......@@ -559,8 +559,8 @@ abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator();
abilityDelegator.getCurrentTopAbility((err : any, data : any) => {
console.info('getCurrentTopAbility callback');
ability = data;
abilityDelegator.doAbilityBackground(ability, (err : any, data : any) => {
console.info('doAbilityBackground callback');
abilityDelegator.doAbilityBackground(ability, (err : any) => {
console.info("doAbilityBackground callback");
});
});
```
......@@ -595,8 +595,8 @@ abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator();
abilityDelegator.getCurrentTopAbility((err : any, data : any) => {
console.info('getCurrentTopAbility callback');
ability = data;
abilityDelegator.doAbilityBackground(ability).then((data : any) => {
console.info('doAbilityBackground promise');
abilityDelegator.doAbilityBackground(ability).then(() => {
console.info("doAbilityBackground promise");
});
});
```
......
......@@ -3,7 +3,7 @@
## 1500001 want中Action为空
**错误信息**
> Want action is null
> The action field in the want parameter is null.
**错误描述**
> 发送事件的`want`中的`Action`属性为空时系统会产生此错误码。
......@@ -17,7 +17,7 @@
## 1500002 沙箱应用无法发送公共事件
**错误信息**
> sandbox application can not send common event
> A sandbox application cannot send common events.
**错误描述**
> 沙箱应用无法发送公共事件。
......@@ -31,7 +31,7 @@
## 1500003 事件发送频率过高
**错误信息**
> common event send frequency too high
> Too many common events are send in a short period of time.
**错误描述**
> 应用发送事件过于频繁。
......@@ -45,7 +45,7 @@
## 1500004 无法发送系统公共事件
**错误信息**
> not System services or System app
> A third-party application cannot send system common events.
**错误描述**
> 当前应用无法发送系统公共事件。
......@@ -59,7 +59,7 @@
## 1500005 未找到订阅者
**错误信息**
> subscriber can not found
> The subscriber is not found.
**错误描述**
> 找不到订阅者。
......@@ -73,7 +73,7 @@
## 1500006 无效userId
**错误信息**
> userId is invalid
> Invalid userId.
**错误描述**
> 无效的userId。
......@@ -87,7 +87,7 @@
## 1500007 IPC请求发送失败
**错误信息**
> message send error
> Failed to send the message.
**错误描述**
> `IPC`发送请求失败。
......@@ -101,7 +101,7 @@
## 1500008 读取数据失败
**错误信息**
> CEMS error
> Failed to read the data.
**错误描述**
> 服务端发生错误。
......@@ -112,10 +112,10 @@
**处理步骤**
> 稍后重新尝试。
## 1500009 system error
## 1500009 系统错误
**错误信息**
> system error
> System error.
**错误描述**
> 处理业务时系统发生异常,如获取系统当前时间失败。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册