1# oh_pasteboard_err_code.h 2 3## Overview 4 5Defines the error code information of the pasteboard. 6 7**Library**: libpasteboard.so 8 9**File to include**: <database/pasteboard/oh_pasteboard_err_code.h> 10 11**System capability**: SystemCapability.MiscServices.Pasteboard 12 13**Since**: 13 14 15**Related module**: [Pasteboard](_pasteboard.md) 16 17 18## Summary 19 20 21### Types 22 23| Name| Description| 24| -------- | -------- | 25| typedef enum [PASTEBOARD_ErrCode](_pasteboard.md#pasteboard_errcode) [PASTEBOARD_ErrCode](_pasteboard.md#pasteboard_errcode) | Defines an enum for error codes. | 26 27 28### Enums 29 30| Name| Description| 31| -------- | -------- | 32| [PASTEBOARD_ErrCode](_pasteboard.md#pasteboard_errcode) {<br>[ERR_OK] = 0, [ERR_PERMISSION_ERROR]) = 201, [ERR_INVALID_PARAMETER] = 401, [ERR_DEVICE_NOT_SUPPORTED] = 801,<br>[ERR_INNER_ERROR] = 12900000, [ERR_BUSY] = 12900003, [ERR_PASTEBOARD_COPY_FILE_ERROR] = 12900007, [ERR_PASTEBOARD_PROGRESS_START_ERROR] = 12900008, [ERR_PASTEBOARD_PROGRESS_ABNORMAL] = 12900009, [ERR_PASTEBOARD_GET_DATA_FAILED] = 12900010, [ERR_BUSY_PROCESSING] = 27787277, [ERR_COPY_FORBIDDEN] = 27787278<br>} | Enumerates the error codes. | 33