1# error_code.h 2 3 4## Overview 5 6Defines the error codes for the **FileIO** module. 7 8**System capability**: SystemCapability.FileManagement.File.FileIO 9 10**Since**: 12 11 12**Related module**: [FileIO](_file_i_o.md) 13 14 15## Summary 16 17 18### Types 19 20| Name| Description| 21| -------- | -------- | 22| typedef enum [FileManagement_ErrCode](_file_i_o.md#filemanagement_errcode-1) [FileManagement_ErrCode](_file_i_o.md#filemanagement_errcode) | Defines an enum for the error codes used in the **FileIO** module.| 23 24 25### Enums 26 27| Name| Description| 28| -------- | -------- | 29| [FileManagement_ErrCode](_file_i_o.md#filemanagement_errcode-1) {<br>ERR_OK = 0,<br>ERR_PERMISSION_ERROR = 201,<br>ERR_INVALID_PARAMETER = 401,<br>ERR_DEVICE_NOT_SUPPORTED = 801,<br>ERR_EPERM = 13900001,<br>ERR_ENOENT = 13900002,<br>ERR_ENOMEM = 13900011,<br>ERR_UNKNOWN = 13900042<br>} | Enumerates the error codes used in the **FileIO** module.| 30