• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# oh_device_manager_err_code.h
2
3## 概述
4
5声明设备管理模块错误码信息。
6
7**引用文件:** <distributedhardware/device_manager/oh_device_manager_err_code.h>
8
9**库:** libdevicemanager_ndk.so
10
11**系统能力:** SystemCapability.DistributedHardware.DeviceManager
12
13**起始版本:** 20
14
15**相关模块:** [DeviceManager](capi-devicemanager.md)
16
17## 汇总
18
19### 枚举
20
21| 名称 | typedef关键字 | 描述 |
22| -- | -- | -- |
23| [DeviceManager_ErrorCode](#devicemanager_errorcode) | DeviceManager_ErrorCode | 分布式设备管理错误码信息。 |
24
25## 枚举类型说明
26
27### DeviceManager_ErrorCode
28
29```
30enum DeviceManager_ErrorCode
31```
32
33**描述**
34
35分布式设备管理错误码信息。
36
37**起始版本:** 20
38
39| 枚举项 | 描述 |
40| -- | -- |
41| ERR_OK = 0 | 执行成功。 |
42| ERR_PERMISSION_ERROR = 201 | 权限校验失败。 |
43| ERR_INVALID_PARAMETER = 401 | 非法参数。 |
44| DM_ERR_FAILED = 11600101 | 函数执行失败。 |
45| DM_ERR_OBTAIN_SERVICE = 11600102 | 获取设备管理服务失败。 |
46| DM_ERR_OBTAIN_BUNDLE_NAME = 11600109 | 获取bundleName失败。 |
47
48
49