1# os_account_common.h
2
3
4## Overview
5
6Defines common types used in **OsAccount** APIs.
7
8**Library**: libos_account_ndk.so
9
10**System capability**: SystemCapability.Account.OsAccount
11
12**Since**: 12
13
14**Related module**: [OsAccount](_os_account.md)
15
16
17## Summary
18
19
20### Types
21
22| Name | Description |
23| -------- | -------- |
24| typedef enum [OsAccount_ErrCode](_os_account.md#osaccount_errcode-1) [OsAccount_ErrCode](_os_account.md#osaccount_errcode) | Defines an enum for error codes. |
25
26
27### Enums
28
29| Name | Description |
30| -------- | -------- |
31| [OsAccount_ErrCode](_os_account.md#osaccount_errcode-1) {<br>OS_ACCOUNT_ERR_OK = 0,<br>OS_ACCOUNT_ERR_INTERNAL_ERROR = 12300001,<br>OS_ACCOUNT_ERR_INVALID_PARAMETER = 12300002<br>} | Enumerates the error codes. |
32
33