# os_account_common.h ## Overview Defines common types used in **OsAccount** APIs. **Library**: libos_account_ndk.so **System capability**: SystemCapability.Account.OsAccount **Since**: 12 **Related module**: [OsAccount](_os_account.md) ## Summary ### Types | Name | Description | | -------- | -------- | | typedef enum [OsAccount_ErrCode](_os_account.md#osaccount_errcode-1) [OsAccount_ErrCode](_os_account.md#osaccount_errcode) | Defines an enum for error codes. | ### Enums | Name | Description | | -------- | -------- | | [OsAccount_ErrCode](_os_account.md#osaccount_errcode-1) {
OS_ACCOUNT_ERR_OK = 0,
OS_ACCOUNT_ERR_INTERNAL_ERROR = 12300001,
OS_ACCOUNT_ERR_INVALID_PARAMETER = 12300002
} | Enumerates the error codes. |