提交 62d2945a 编写于 作者: X xsz233

modify err msg

Signed-off-by: Nxsz233 <xushizhe@huawei.com>
上级 38d03b9c
......@@ -802,8 +802,8 @@ dependencies标签示例:
| 属性名称 | 含义 | 数据类型 | 是否可缺省 |
| ----------- | ------------------------------ | -------- | ---------- |
| uri | 标识用于访问该数据代理的uri,不同的数据代理配置的uri不可重复,且需要满足`datashareproxy://当前应用包名/xxx`的格式。 | 字符串 | 不可缺省。 |
| requiredReadPermission | 标识从该数据代理中读取数据所需要的权限,非系统应用配置的权限的等级需为system_basic或system_core,系统应用无此限制。| 字符串 | 可缺省,缺省值为空。 |
| requiredWritePermission | 标识向该数据代理中读取数据所需要的权限。非系统应用配置的权限的等级需为system_basic或system_core,系统应用无此限制。| 字符串 | 可缺省,缺省值为空。 |
| requiredReadPermission | 标识从该数据代理中读取数据所需要的权限,非系统应用配置的权限的等级需为system_basic或system_core,系统应用可以不配置权限,且权限的等级没有限制。权限等级可以参考[权限列表](../security/permission-list.md) | 字符串 | 可缺省,缺省值为空。 |
| requiredWritePermission | 标识向该数据代理中读取数据所需要的权限。非系统应用配置的权限的等级需为system_basic或system_core,系统应用可以不配置权限,且权限的等级没有限制。权限等级可以参考[权限列表](../security/permission-list.md) | 字符串 | 可缺省,缺省值为空。 |
| [metadata](#metadata标签) | 标识该数据代理的元信息,只支持配置name和resource字段。 | 对象 | 可缺省,缺省值为空。 |
proxyDatas标签示例:
......
......@@ -121,8 +121,8 @@ install(hapFilePaths: Array&lt;string&gt;, installParam: InstallParam, callback:
| 17700036 | Failed to install the HSP because lacks appropriate permissions. |
| 17700039 | Failed to install because disallow install a shared bundle by hapFilePaths. |
| 17700041 | Failed to install because enterprise device management disallow install. |
| 17700042 | Failed to install because the uri in data proxy is wrong. |
| 17700043 | Failed to install because the apl of permission in non-system data proxy should be system_basic or system_core. |
| 17700042 | Failed to install the HAP because of incorrect URI in the data proxy. |
| 17700043 | Failed to install the HAP because of low APL in the non-system data proxy (required APL: system_basic or system_core). |
| 17700044 | Failed to install because the isolationMode does not match the system. |
**示例:**
......@@ -187,8 +187,8 @@ install(hapFilePaths: Array&lt;string&gt;, callback: AsyncCallback&lt;void&gt;):
| 17700036 | Failed to install the HSP because lacks appropriate permissions. |
| 17700039 | Failed to install because disallow install a shared bundle by hapFilePaths. |
| 17700041 | Failed to install because enterprise device management disallow install. |
| 17700042 | Failed to install because the uri in data proxy is wrong. |
| 17700043 | Failed to install because the apl of permission in non-system data proxy should be system_basic or system_core. |
| 17700042 | Failed to install the HAP because of incorrect URI in the data proxy. |
| 17700043 | Failed to install the HAP because of low APL in the non-system data proxy (required APL: system_basic or system_core). |
| 17700044 | Failed to install because the isolationMode does not match the system. |
**示例:**
......@@ -257,8 +257,8 @@ install(hapFilePaths: Array\<string\>, installParam?: InstallParam) : Promise\<v
| 17700036 | Failed to install the HSP because lacks appropriate permissions. |
| 17700039 | Failed to install because disallow install a shared bundle by hapFilePaths. |
| 17700041 | Failed to install because enterprise device management disallow install. |
| 17700042 | Failed to install because the uri in data proxy is wrong. |
| 17700043 | Failed to install because the apl of permission in non-system data proxy should be system_basic or system_core. |
| 17700042 | Failed to install the HAP because of incorrect URI in the data proxy. |
| 17700043 | Failed to install the HAP because of low APL in the non-system data proxy (required APL: system_basic or system_core). |
| 17700044 | Failed to install because the isolationMode does not match the system. |
**示例:**
......
......@@ -546,7 +546,7 @@ The specified bundle is a shared bundle which cannot be uninstalled.
## 17700042 数据代理中的uri配置错误
**错误信息**<br/>
Failed to install because the uri in data proxy is wrong.
Failed to install the HAP because of incorrect URI in the data proxy.
**错误描述**<br/>
安装应用时,数据代理的uri配置错误。
......@@ -561,7 +561,7 @@ Failed to install because the uri in data proxy is wrong.
## 17700043 数据代理中的权限配置错误
**错误信息**<br/>
Failed to install because the apl of permission in non-system data proxy should be system_basic or system_core.
Failed to install the HAP because of low APL in the non-system data proxy (required APL: system_basic or system_core).
**错误描述**<br/>
安装应用时,非系统应用的数据代理的权限等级过低,应为system_basic或system_core。
......@@ -576,7 +576,7 @@ Failed to install because the apl of permission in non-system data proxy should
## 17700044 安装包设置的多进程配置项与系统配置项设置矛盾
**错误信息**<br/>
Failed to install because the isolationMode does not match the system.
Failed to install the HAP because the isolationMode does not match the system.
**错误描述**<br/>
安装应用时,设置的isolationMode与系统配置项所允许的系统配置项矛盾。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册