mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-08 15:54:33 +00:00
修改childProcessManager.d.ts错误码
Signed-off-by: zhangyuhang72 <zhangyuhang72@huawei.com> Change-Id: Ifb746ce7df34c4cef5f1f3e8df5c4a25a6e32726
This commit is contained in:
parent
7695617ffd
commit
a5105bcefb
@ -51,9 +51,10 @@ declare namespace childProcessManager {
|
||||
* @param { string } srcEntry - Child process source file entrance to be started.
|
||||
* @param { StartMode } startMode - Child process start mode.
|
||||
* @returns { Promise<number> } Returns the started child process pid.
|
||||
* @throws { BusinessError } 201 - The application does not have permission to call the interface.
|
||||
* @throws { BusinessError } 401 - Invalid input parameter.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000061 - Operation not supported.
|
||||
* @throws { BusinessError } 16000062 - The number of child process exceeds upper bound.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @StageModelOnly
|
||||
* @since 11
|
||||
@ -66,9 +67,10 @@ declare namespace childProcessManager {
|
||||
* @param { string } srcEntry - Child process source file entrance to be started.
|
||||
* @param { StartMode } startMode - Child process start mode.
|
||||
* @param { AsyncCallback<number> } callback - The callback of startChildProcess.
|
||||
* @throws { BusinessError } 201 - The application does not have permission to call the interface.
|
||||
* @throws { BusinessError } 401 - Invalid input parameter.
|
||||
* @throws { BusinessError } 16000050 - Internal error.
|
||||
* @throws { BusinessError } 16000061 - Operation not supported.
|
||||
* @throws { BusinessError } 16000062 - The number of child process exceeds upper bound.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @StageModelOnly
|
||||
* @since 11
|
||||
|
Loading…
Reference in New Issue
Block a user