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

!15735 更新事件通知错误码描述合入monthly_0221018

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