modify taskpool error code information

description:modify taskpool error code information

issue:https://gitee.com/openharmony/interface_sdk-js/issues/I7N4IC

Signed-off-by: buzhuyu <buzhuyu@huawei.com>
This commit is contained in:
buzhuyu 2023-07-22 10:53:27 +08:00
parent 161d842cd6
commit 61be310f97

View File

@ -220,7 +220,7 @@ declare namespace taskpool {
* @throws { BusinessError } 401 - The input parameters are invalid.
* @throws { BusinessError } 10200003 - Worker initialization failure.
* @throws { BusinessError } 10200006 - An exception occurred during serialization.
* @throws { BusinessError } 10200014 - if the function in task is not mark as concurrent.
* @throws { BusinessError } 10200014 - The function is not mark as concurrent.
* @syscap SystemCapability.Utils.Lang
* @since 9
*/
@ -233,7 +233,7 @@ declare namespace taskpool {
* @throws { BusinessError } 401 - The input parameters are invalid.
* @throws { BusinessError } 10200003 - Worker initialization failure.
* @throws { BusinessError } 10200006 - An exception occurred during serialization.
* @throws { BusinessError } 10200014 - if the function in task is not mark as concurrent.
* @throws { BusinessError } 10200014 - The function is not mark as concurrent.
* @syscap SystemCapability.Utils.Lang
* @crossplatform
* @since 10