From c5277db1b0001e84cfd84545b38e4909b621420f Mon Sep 17 00:00:00 2001 From: louzhihao Date: Wed, 21 May 2025 11:17:34 +0800 Subject: [PATCH] system error Signed-off-by: louzhihao Change-Id: I90941b5ac48bf0dc87daaf7ab48f6674a56ec904 --- .../js-apis-data-dataShare-sys.md | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/zh-cn/application-dev/reference/apis-arkdata/js-apis-data-dataShare-sys.md b/zh-cn/application-dev/reference/apis-arkdata/js-apis-data-dataShare-sys.md index 29630c00ef3..56a81b284a5 100644 --- a/zh-cn/application-dev/reference/apis-arkdata/js-apis-data-dataShare-sys.md +++ b/zh-cn/application-dev/reference/apis-arkdata/js-apis-data-dataShare-sys.md @@ -45,6 +45,7 @@ createDataShareHelper(context: Context, uri: string, callback: AsyncCallback< | 错误码ID | 错误信息 | | -------- | ---------------------------------------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700010 | The DataShareHelper is not initialized successfully. | @@ -102,6 +103,7 @@ createDataShareHelper(context: Context, uri: string, options: DataShareHelperOpt | 错误码ID | 错误信息 | | -------- | ---------------------------------------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700010 | The DataShareHelper is not initialized successfully. | @@ -165,6 +167,7 @@ createDataShareHelper(context: Context, uri: string, options?: DataShareHelperOp | 错误码ID | 错误信息 | | -------- | ---------------------------------------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700010 | The DataShareHelper is not initialized successfully. | @@ -227,6 +230,7 @@ enableSilentProxy(context: Context, uri?: string): Promise<void> | 错误码ID | 错误信息 | | -------- | ---------------------------------------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700011 | The URI is not exist. | @@ -281,6 +285,7 @@ disableSilentProxy(context: Context, uri?: string): Promise<void> | 错误码ID | 错误信息 | | -------- | ---------------------------------------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700011 | The URI does not exist. | @@ -454,6 +459,7 @@ on(type: 'dataChange', uri: string, callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -492,6 +498,7 @@ on(event: 'dataChange', type:SubscriptionType, uri: string, callback: AsyncCallb | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -532,6 +539,7 @@ off(type: 'dataChange', uri: string, callback?: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -572,6 +580,7 @@ off(event: 'dataChange', type:SubscriptionType, uri: string, callback?: AsyncCal | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -613,6 +622,7 @@ addTemplate(uri: string, subscriberId: string, template: Template): void | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700011 | The URI is not exist.| | 15700013 | The DataShareHelper instance is already closed.| @@ -660,6 +670,7 @@ delTemplate(uri: string, subscriberId: string): void | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700011 | The URI is not exist.| | 15700013 | The DataShareHelper instance is already closed.| @@ -715,6 +726,7 @@ on(type: 'rdbDataChange', uris: Array<string>, templateId: TemplateId, cal | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -768,6 +780,7 @@ off(type: 'rdbDataChange', uris: Array<string>, templateId: TemplateId, ca | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -810,6 +823,7 @@ on(type: 'publishedDataChange', uris: Array<string>, subscriberId: string, | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -867,6 +881,7 @@ off(type: 'publishedDataChange', uris: Array<string>, subscriberId: string | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -908,6 +923,7 @@ publish(data: Array<PublishedItem>, bundleName: string, version: number, c | 错误码ID | 错误信息 | | -------- | -------------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700012 | The data area is not exist.| | 15700013 | The DataShareHelper instance is already closed.| @@ -955,6 +971,7 @@ publish(data: Array<PublishedItem>, bundleName: string, callback: AsyncCal | 错误码ID | 错误信息 | | -------- | -------------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700012 | The data area is not exist.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1004,6 +1021,7 @@ publish(data: Array<PublishedItem>, bundleName: string, version?: number): | 错误码ID | 错误信息 | | -------- | -------------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700012 | The data area is not exist.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1041,6 +1059,7 @@ getPublishedData(bundleName: string, callback: AsyncCallback<Array<Publish | 错误码ID | 错误信息 | | -------- | -------------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700012 | The data area is not exist.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1084,6 +1103,7 @@ getPublishedData(bundleName: string): Promise<Array<PublishedItem>> | 错误码ID | 错误信息 | | -------- | -------------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700012 | The data area is not exist.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1118,6 +1138,7 @@ insert(uri: string, value: ValuesBucket, callback: AsyncCallback<number>): | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1183,6 +1204,7 @@ insert(uri: string, value: ValuesBucket): Promise<number> | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1241,6 +1263,7 @@ delete(uri: string, predicates: dataSharePredicates.DataSharePredicates, callbac | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1297,6 +1320,7 @@ delete(uri: string, predicates: dataSharePredicates.DataSharePredicates): Promis | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1347,6 +1371,7 @@ query(uri: string, predicates: dataSharePredicates.DataSharePredicates, columns: | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1405,6 +1430,7 @@ query(uri: string, predicates: dataSharePredicates.DataSharePredicates, columns: | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1456,6 +1482,7 @@ update(uri: string, predicates: dataSharePredicates.DataSharePredicates, value: | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1524,6 +1551,7 @@ update(uri: string, predicates: dataSharePredicates.DataSharePredicates, value: | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1588,6 +1616,7 @@ batchUpdate(operations: Record<string, Array<UpdateOperation>>): Pro | 错误码ID | 错误信息 | | -------- | ------------------------------------ | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700000 | Inner error. | | 15700013 | The DataShareHelper instance is already closed. | @@ -1672,6 +1701,7 @@ batchInsert(uri: string, values: Array<ValuesBucket>, callback: AsyncCallb | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1738,6 +1768,7 @@ batchInsert(uri: string, values: Array<ValuesBucket>): Promise<number&g | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1795,6 +1826,7 @@ close(): Promise <void> | 错误码ID | 错误信息 | | -------- | ------------ | +| 202 | Not System Application.| | 15700000 | Inner error. | **示例:** @@ -1826,6 +1858,7 @@ normalizeUri(uri: string, callback: AsyncCallback<string>): void | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1872,6 +1905,7 @@ normalizeUri(uri: string): Promise<string> | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1911,6 +1945,7 @@ denormalizeUri(uri: string, callback: AsyncCallback<string>): void | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1957,6 +1992,7 @@ denormalizeUri(uri: string): Promise<string> | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| @@ -1996,6 +2032,7 @@ notifyChange(uri: string, callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Mandatory parameters are left unspecified.| | 15700013 | The DataShareHelper instance is already closed.| @@ -2036,6 +2073,7 @@ notifyChange(uri: string): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Mandatory parameters are left unspecified.| | 15700013 | The DataShareHelper instance is already closed.| @@ -2074,6 +2112,7 @@ notifyChange(data: ChangeInfo): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------- | +| 202 | Not System Application.| | 401 | Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameters types.| | 15700013 | The DataShareHelper instance is already closed.| -- Gitee