1# oh_pasteboard_err_code.h 2<!--Kit: Basic Services Kit--> 3<!--Subsystem: MiscServices--> 4<!--Owner: @yangxiaodong41--> 5<!--Designer: @guo867--> 6<!--Tester: @maxiaorong2--> 7<!--Adviser: @HelloCrease--> 8 9## Overview 10 11Declares the error code information of the pasteboard. 12 13**File to include**: <database/pasteboard/oh_pasteboard_err_code.h> 14 15**Library**: libpasteboard.so 16 17**System capability**: SystemCapability.MiscServices.Pasteboard 18 19**Since**: 13 20 21**Related module**: [Pasteboard](capi-pasteboard.md) 22 23## Summary 24 25### Enums 26 27| Name| typedef Keyword| Description| 28| -- | -- | -- | 29| [PASTEBOARD_ErrCode](#pasteboard_errcode) | PASTEBOARD_ErrCode | Enumerates the error codes.| 30 31## Enum Description 32 33### PASTEBOARD_ErrCode 34 35``` 36enum PASTEBOARD_ErrCode 37``` 38 39**Description** 40 41Enumerates the error codes. 42 43**Since**: 13 44 45| Enum Item| Description| 46| -- | -- | 47| ERR_OK = 0 | Operation successful.| 48| ERR_PERMISSION_ERROR = 201 | Permission verification failed.| 49| ERR_INVALID_PARAMETER = 401 | Invalid parameter.| 50| ERR_DEVICE_NOT_SUPPORTED = 801 | Device capability not supported.| 51| ERR_INNER_ERROR = 12900000 | Internal error.| 52| ERR_BUSY = 12900003 | System busy.| 53| ERR_PASTEBOARD_COPY_FILE_ERROR = 12900007 | Failed to copy files.| 54| ERR_PASTEBOARD_PROGRESS_START_ERROR = 12900008 | Failed to display the progress.| 55| ERR_PASTEBOARD_PROGRESS_ABNORMAL = 12900009 | Abnormal progress.| 56| ERR_PASTEBOARD_GET_DATA_FAILED = 12900010 | Failed to obtain the pasteboard data.| 57