From cd9937e2ac2ba864d06581d45aacf3b3861a972b Mon Sep 17 00:00:00 2001 From: niudongyao Date: Wed, 19 Oct 2022 09:22:37 +0800 Subject: [PATCH] datashare errorcode.md Signed-off-by: niudongyao --- .idea/vcs.xml | 6 ++ .idea/workspace.xml | 64 +++++++++++++++++++ .../errorcodes/errorcode-datashare.md | 17 +++-- 3 files changed, 78 insertions(+), 9 deletions(-) create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000000..94a25f7f4c --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000000..62e727760e --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1665538843678 + + + + + + + + + \ No newline at end of file diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-datashare.md b/zh-cn/application-dev/reference/errorcodes/errorcode-datashare.md index dc358ae806..b4deb99c43 100644 --- a/zh-cn/application-dev/reference/errorcodes/errorcode-datashare.md +++ b/zh-cn/application-dev/reference/errorcodes/errorcode-datashare.md @@ -2,21 +2,20 @@ ## 15700010 创建DataShareHelper异常 -### 错误信息 +**错误信息** The dataShareHelper is not initialized successfully. -### 错误描述 +**错误描述** 创建DataShareHelper工具类异常时,系统会产生此错误码。 -### 可能原因 +**可能原因** -1. AMS初始化失败,远程服务端未连接。 -2. uri路径不正确。 -3. context上下文环境不正确。 +1. 创建DataShareHelper时,接口createDataHelper的入参uri不正确。 +2. 创建DataShareHelper时,接口createDataHelper的入参context不正确。 -### 处理步骤 +**处理步骤** -1. 咨询dataShare服务端提供者,并获取正确的uri路径。 -2. 检查context,查看token是否正确。 \ No newline at end of file +1. 咨询DataShare服务端提供者,获取正确的uri路径。 +2. DataShare仅支持Stage模型,检查context是否为Stage模型的context。 \ No newline at end of file -- GitLab