mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
401错误码增加注释
Signed-off-by: negegne <zhengshunxin@huawei.com>
This commit is contained in:
parent
12251554b2
commit
7f2f385ccc
30
api/@ohos.logLibrary.d.ts
vendored
30
api/@ohos.logLibrary.d.ts
vendored
@ -75,7 +75,10 @@ declare namespace logLibrary {
|
|||||||
* @returns { LogEntry[] } Return LogEntry[]
|
* @returns { LogEntry[] } Return LogEntry[]
|
||||||
* @throws { BusinessError } 201 - Permission denied
|
* @throws { BusinessError } 201 - Permission denied
|
||||||
* @throws { BusinessError } 202 - Permission denied, non-system app called system api
|
* @throws { BusinessError } 202 - Permission denied, non-system app called system api
|
||||||
* @throws { BusinessError } 401 - Invalid argument
|
* @throws { BusinessError } 401 - Invalid argument. Possible causes:
|
||||||
|
* <br>1. Mandatory parameters are left unspecified.
|
||||||
|
* <br>2. Incorrect parameter types.
|
||||||
|
* <br>3. Parameter verification failed.
|
||||||
* @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary
|
* @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary
|
||||||
* @systemapi
|
* @systemapi
|
||||||
* @since 10
|
* @since 10
|
||||||
@ -92,7 +95,10 @@ declare namespace logLibrary {
|
|||||||
* @returns { Promise<void> } Return Promise
|
* @returns { Promise<void> } Return Promise
|
||||||
* @throws { BusinessError } 201 - Permission denied
|
* @throws { BusinessError } 201 - Permission denied
|
||||||
* @throws { BusinessError } 202 - Permission denied, non-system app called system api
|
* @throws { BusinessError } 202 - Permission denied, non-system app called system api
|
||||||
* @throws { BusinessError } 401 - Invalid argument
|
* @throws { BusinessError } 401 - Invalid argument. Possible causes:
|
||||||
|
* <br>1. Mandatory parameters are left unspecified.
|
||||||
|
* <br>2. Incorrect parameter types.
|
||||||
|
* <br>3. Parameter verification failed.
|
||||||
* @throws { BusinessError } 21300001 - Source file does not exists
|
* @throws { BusinessError } 21300001 - Source file does not exists
|
||||||
* @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary
|
* @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary
|
||||||
* @systemapi
|
* @systemapi
|
||||||
@ -110,7 +116,10 @@ declare namespace logLibrary {
|
|||||||
* @param { AsyncCallback<void> } callback - After finish copy log will callback
|
* @param { AsyncCallback<void> } callback - After finish copy log will callback
|
||||||
* @throws { BusinessError } 201 - Permission denied
|
* @throws { BusinessError } 201 - Permission denied
|
||||||
* @throws { BusinessError } 202 - Permission denied, non-system app called system api
|
* @throws { BusinessError } 202 - Permission denied, non-system app called system api
|
||||||
* @throws { BusinessError } 401 - Invalid argument
|
* @throws { BusinessError } 401 - Invalid argument. Possible causes:
|
||||||
|
* <br>1. Mandatory parameters are left unspecified.
|
||||||
|
* <br>2. Incorrect parameter types.
|
||||||
|
* <br>3. Parameter verification failed.
|
||||||
* @throws { BusinessError } 21300001 - Source file does not exists
|
* @throws { BusinessError } 21300001 - Source file does not exists
|
||||||
* @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary
|
* @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary
|
||||||
* @systemapi
|
* @systemapi
|
||||||
@ -128,7 +137,10 @@ declare namespace logLibrary {
|
|||||||
* @returns { Promise<void> } Return Promise
|
* @returns { Promise<void> } Return Promise
|
||||||
* @throws { BusinessError } 201 - Permission denied
|
* @throws { BusinessError } 201 - Permission denied
|
||||||
* @throws { BusinessError } 202 - Permission denied, non-system app called system api
|
* @throws { BusinessError } 202 - Permission denied, non-system app called system api
|
||||||
* @throws { BusinessError } 401 - Invalid argument
|
* @throws { BusinessError } 401 - Invalid argument. Possible causes:
|
||||||
|
* <br>1. Mandatory parameters are left unspecified.
|
||||||
|
* <br>2. Incorrect parameter types.
|
||||||
|
* <br>3. Parameter verification failed.
|
||||||
* @throws { BusinessError } 21300001 - Source file does not exists
|
* @throws { BusinessError } 21300001 - Source file does not exists
|
||||||
* @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary
|
* @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary
|
||||||
* @systemapi
|
* @systemapi
|
||||||
@ -146,7 +158,10 @@ declare namespace logLibrary {
|
|||||||
* @param { AsyncCallback<void> } callback - After finish move log will callback
|
* @param { AsyncCallback<void> } callback - After finish move log will callback
|
||||||
* @throws { BusinessError } 201 - Permission denied
|
* @throws { BusinessError } 201 - Permission denied
|
||||||
* @throws { BusinessError } 202 - Permission denied, non-system app called system api
|
* @throws { BusinessError } 202 - Permission denied, non-system app called system api
|
||||||
* @throws { BusinessError } 401 - Invalid argument
|
* @throws { BusinessError } 401 - Invalid argument. Possible causes:
|
||||||
|
* <br>1. Mandatory parameters are left unspecified.
|
||||||
|
* <br>2. Incorrect parameter types.
|
||||||
|
* <br>3. Parameter verification failed.
|
||||||
* @throws { BusinessError } 21300001 - Source file does not exists
|
* @throws { BusinessError } 21300001 - Source file does not exists
|
||||||
* @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary
|
* @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary
|
||||||
* @systemapi
|
* @systemapi
|
||||||
@ -162,7 +177,10 @@ declare namespace logLibrary {
|
|||||||
* @param { string } logName - Log name
|
* @param { string } logName - Log name
|
||||||
* @throws { BusinessError } 201 - Permission denied
|
* @throws { BusinessError } 201 - Permission denied
|
||||||
* @throws { BusinessError } 202 - Permission denied, non-system app called system api
|
* @throws { BusinessError } 202 - Permission denied, non-system app called system api
|
||||||
* @throws { BusinessError } 401 - Invalid argument
|
* @throws { BusinessError } 401 - Invalid argument. Possible causes:
|
||||||
|
* <br>1. Mandatory parameters are left unspecified.
|
||||||
|
* <br>2. Incorrect parameter types.
|
||||||
|
* <br>3. Parameter verification failed.
|
||||||
* @throws { BusinessError } 21300001 - Source file does not exists
|
* @throws { BusinessError } 21300001 - Source file does not exists
|
||||||
* @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary
|
* @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary
|
||||||
* @systemapi
|
* @systemapi
|
||||||
|
Loading…
Reference in New Issue
Block a user