harmony 鸿蒙oh_preferences_err_code.h
oh_preferences_err_code.h
Overview
Defines the error codes used in the Preferences module.
File to include: <database/preferences/oh_preferences_err_code.h>
Library: libohpreferences.so
System capability: SystemCapability.DistributedDataManager.Preferences.Core
Since: 13
Related module: Preferences
Summary
Types
Name | Description |
---|---|
typedef enum OH_Preferences_ErrCode OH_Preferences_ErrCode | Defines an enum for error codes. |
Enums
Name | Description |
---|---|
OH_Preferences_ErrCode { PREFERENCES_OK = 0, PREFERENCES_ERROR_INVALID_PARAM = 401, PREFERENCES_ERROR_NOT_SUPPORTED = 801, PREFERENCES_ERROR_BASE = 15500000, PREFERENCES_ERROR_DELETE_FILE = 15500010, PREFERENCES_ERROR_STORAGE = 15500011, PREFERENCES_ERROR_MALLOC = 15500012, PREFERENCES_ERROR_KEY_NOT_FOUND= 15500013, PREFERENCES_ERROR_GET_DATAOBSMGRCLIENT = 15500019 } |
Enumerates the error codes used in the Preferences module. |
你可能感兴趣的鸿蒙文章
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦