From 4c517ec91be0f00f40cb92d2bebff74e32b8dc63 Mon Sep 17 00:00:00 2001 From: renzhixian Date: Mon, 28 Apr 2025 21:54:11 +0800 Subject: [PATCH 1/2] fix:update pasteboard error message Signed-off-by: renzhixian --- .../pasteboard/include/oh_pasteboard_err_code.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distributeddatamgr/pasteboard/include/oh_pasteboard_err_code.h b/distributeddatamgr/pasteboard/include/oh_pasteboard_err_code.h index 8dba41d2a..137e76ea1 100644 --- a/distributeddatamgr/pasteboard/include/oh_pasteboard_err_code.h +++ b/distributeddatamgr/pasteboard/include/oh_pasteboard_err_code.h @@ -75,7 +75,7 @@ typedef enum PASTEBOARD_ErrCode { */ ERR_BUSY = 12900003, /** - * @error Copy file failed. + * @error Invalid destUri or file system error. * @since 15 */ ERR_PASTEBOARD_COPY_FILE_ERROR = 12900007, @@ -90,7 +90,7 @@ typedef enum PASTEBOARD_ErrCode { */ ERR_PASTEBOARD_PROGRESS_ABNORMAL = 12900009, /** - * @error Get Data failed. + * @error System error occurred during paste execution. * @since 15 */ ERR_PASTEBOARD_GET_DATA_FAILED = 12900010, -- Gitee From fd8f949172430aacd576e65eb126b71b0b5847f8 Mon Sep 17 00:00:00 2001 From: renzhixian Date: Tue, 6 May 2025 13:09:21 +0000 Subject: [PATCH 2/2] Revert "fix:update pasteboard error message" This reverts commit 4c517ec91be0f00f40cb92d2bebff74e32b8dc63. --- .../pasteboard/include/oh_pasteboard_err_code.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distributeddatamgr/pasteboard/include/oh_pasteboard_err_code.h b/distributeddatamgr/pasteboard/include/oh_pasteboard_err_code.h index 137e76ea1..8dba41d2a 100644 --- a/distributeddatamgr/pasteboard/include/oh_pasteboard_err_code.h +++ b/distributeddatamgr/pasteboard/include/oh_pasteboard_err_code.h @@ -75,7 +75,7 @@ typedef enum PASTEBOARD_ErrCode { */ ERR_BUSY = 12900003, /** - * @error Invalid destUri or file system error. + * @error Copy file failed. * @since 15 */ ERR_PASTEBOARD_COPY_FILE_ERROR = 12900007, @@ -90,7 +90,7 @@ typedef enum PASTEBOARD_ErrCode { */ ERR_PASTEBOARD_PROGRESS_ABNORMAL = 12900009, /** - * @error System error occurred during paste execution. + * @error Get Data failed. * @since 15 */ ERR_PASTEBOARD_GET_DATA_FAILED = 12900010, -- Gitee