未验证 提交 4c2bbc8a 编写于 作者: O openharmony_ci 提交者: Gitee

!19511 fix:add new error code message

Merge pull request !19511 from 王易朋/master
......@@ -606,6 +606,14 @@ setCurrentFunctions(funcs: FunctionType): Promise\<void\>
| ------ | ------------------------------ | ---- | ----------------- |
| funcs | [FunctionType](#functiontype) | 是 | USB功能数字掩码。 |
**错误码:**
以下错误码的详细介绍请参见[USB错误码](../errorcodes/errorcode-usb.md)
| 错误码ID | 错误码信息 |
| -------- | ---------------------------------------------------- |
| 14400002 | Permission denied.The HDC is disabled by the system. |
**返回值:**
| 类型 | 说明 |
......
......@@ -20,4 +20,22 @@ Permission denied. Need call requestRight to get permission.
**处理步骤**
调用requestRight方法申请设备的使用权限。
\ No newline at end of file
调用requestRight方法申请设备的使用权限。
## 14400002 HDC功能被禁用
**错误信息**
Permission denied.The HDC is disabled by the system.
**错误描述**
HDC被系统禁用。
**可能原因**
没有申请USB调试权限。
**处理步骤**
申请USB调试权限。
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册