From 916e91290fceba8fdfe07e310864435499861e67 Mon Sep 17 00:00:00 2001 From: lhc Date: Wed, 6 Aug 2025 16:37:01 +0800 Subject: [PATCH] Modified the error code of the create and from api Issue: https://gitee.com/openharmony/interface_sdk-js/issues/ICRL44?from=project-issue Signed-off-by: lhc Change-Id: I7c03072c4103fc687d9f6e185dd1ee8efc1afcf4 --- arkts/@arkts.collections.d.ets | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arkts/@arkts.collections.d.ets b/arkts/@arkts.collections.d.ets index 20448ccf84..89e961168c 100644 --- a/arkts/@arkts.collections.d.ets +++ b/arkts/@arkts.collections.d.ets @@ -446,7 +446,6 @@ declare namespace collections { * @param { T } initialValue - Initial value of each element in the ArkTS array. * @returns { Array } A new Array instance * @throws { BusinessError } 401 - Parameter error. - * @throws { BusinessError } 10200011 - The create method cannot be bound. * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice @@ -471,7 +470,6 @@ declare namespace collections { * @param { ArrayLike } arrayLike - Array-like object. * @returns { Array } A new Array instance * @throws { BusinessError } 401 - Parameter error. - * @throws { BusinessError } 10200011 - The from method cannot be bound. * @static * @syscap SystemCapability.Utils.Lang * @crossplatform @@ -498,7 +496,6 @@ declare namespace collections { * @returns { Array } A new Array instance * @throws { BusinessError } 401 - Parameter error: Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 10200011 - The from method cannot be bound. * @static * @syscap SystemCapability.Utils.Lang * @crossplatform @@ -514,7 +511,6 @@ declare namespace collections { * @returns { Array } A new Array instance * @throws { BusinessError } 401 - Parameter error: Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 10200011 - The from method cannot be bound. * @static * @syscap SystemCapability.Utils.Lang * @atomicservice @@ -530,7 +526,6 @@ declare namespace collections { * @returns { Array } A new Array instance * @throws { BusinessError } 401 - Parameter error: Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 10200011 - The from method cannot be bound. * @static * @syscap SystemCapability.Utils.Lang * @atomicservice -- Gitee