!13205 【修复】完善USB服务API接口错误码返回

Merge pull request !13205 from 廖平/DTS-14400003
This commit is contained in:
openharmony_ci 2024-08-15 08:09:40 +00:00 committed by Gitee
commit 33be2dbb66
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -335,6 +335,7 @@ declare namespace usbManager {
* <br>1.Mandatory parameters are left unspecified.
* <br>2.Incorrect parameter types.
* @throws { BusinessError } 202 - Permission denied. Normal application do not have permission to use system api.
* @throws { BusinessError } 14400003 - Unsupported operation. The current device does not support port role switching.
* @syscap SystemCapability.USB.USBManager
* @systemapi
* @since 12