• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 统一数据管理框架错误码
2<!--Kit: ArkData-->
3<!--Subsystem: DistributedDataManager-->
4<!--Owner: @jcwen-->
5<!--Designer: @junathuawei1; @zph000-->
6<!--Tester: @lj_liujing; @yippo; @logic42-->
7<!--Adviser: @ge-yafang-->
8
9> **说明:**
10>
11> 以下仅介绍本模块特有错误码,通用错误码请参考[通用错误码说明文档](../errorcode-universal.md)。
12
13## 20400001 设置已存在,若要重新配置请删除现有的共享选项
14
15**错误信息**
16
17Settings already exist. To reconfigure, remove the existing sharing options.
18
19**错误描述**
20
21应用程序设置拖拽通道数据可使用的范围时,将要设置的信息在数据库中已存在。
22
23**可能原因**
24
25调用[setAppShareOptions](js-apis-data-unifiedDataChannel.md#unifieddatachannelsetappshareoptions14)重复设置拖拽通道数据可使用的范围时,系统会产生此错误码。
26
27**处理步骤**
28
29先调用[removeAppShareOptions](js-apis-data-unifiedDataChannel.md#unifieddatachannelremoveappshareoptions14)清除当前拖拽通道数据可使用的范围后,再调用[setAppShareOptions](js-apis-data-unifiedDataChannel.md#unifieddatachannelsetappshareoptions14)重新设置。
30