• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# oh_device_manager_err_code.h
2
3## Overview
4
5Declares the error codes of the distributed device management module.
6
7**File to include**: <distributedhardware/device_manager/oh_device_manager_err_code.h>
8
9**Library**: libdevicemanager_ndk.so
10
11**System capability**: SystemCapability.DistributedHardware.DeviceManager
12
13**Since**: 20
14
15**Related module**: [DeviceManager](capi-devicemanager.md)
16
17## Summary
18
19### Enums
20
21| Name| typedef Keyword| Description|
22| -- | -- | -- |
23| [DeviceManager_ErrorCode](#devicemanager_errorcode) | DeviceManager_ErrorCode | Error code information of distributed device management module.|
24
25## Enum Description
26
27### DeviceManager_ErrorCode
28
29```
30enum DeviceManager_ErrorCode
31```
32
33**Description**
34
35Error codes of the distributed device management module.
36
37**Since**: 20
38
39| Enum| Description|
40| -- | -- |
41| ERR_OK = 0 | Operation success.|
42| ERR_PERMISSION_ERROR = 201 | Permission verification failed.|
43| ERR_INVALID_PARAMETER = 401 | Invalid parameter.|
44| DM_ERR_FAILED = 11600101 | Function execution failed.|
45| DM_ERR_OBTAIN_SERVICE = 11600102 | Failed to obtain the device management service.|
46| DM_ERR_OBTAIN_BUNDLE_NAME = 11600109 | Failed to obtain the bundle name.|
47