From 2907a81869daaaf54d26682c1a2dc9dad780ed97 Mon Sep 17 00:00:00 2001 From: Hyotaek Shim Date: Mon, 11 Jul 2022 14:48:40 +0900 Subject: [PATCH] Rearrange resource_error_e enum and add RESOURCE_ERROR_OPERATION_FAILED Change-Id: If2e8bc8e1bff0c212cd0e1745ba7c9c3ca229b84 Signed-off-by: Hyotaek Shim --- include/common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/common.h b/include/common.h index 19a73f6..14086f7 100644 --- a/include/common.h +++ b/include/common.h @@ -52,12 +52,12 @@ extern "C" { typedef enum { RESOURCE_ERROR_NONE = TIZEN_ERROR_NONE, /**< Success */ - RESOURCE_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */ + RESOURCE_ERROR_NOT_SUPPORTED = TIZEN_ERROR_INVALID_OPERATION, /**< Not supported */ RESOURCE_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */ - RESOURCE_ERROR_NO_DATA = TIZEN_ERROR_NO_DATA, /**< Empty data */ RESOURCE_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */ - RESOURCE_ERROR_NO_SUCH_FILE = TIZEN_ERROR_NO_SUCH_FILE, /**< No such file */ - RESOURCE_ERROR_NOT_SUPPORTED = TIZEN_ERROR_INVALID_OPERATION /**< Not supported */ + RESOURCE_ERROR_OPERATION_FAILED = TIZEN_ERROR_IO_ERROR, /**< Operation failed */ + RESOURCE_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */ + RESOURCE_ERROR_NO_SUCH_FILE = TIZEN_ERROR_NO_SUCH_FILE /**< No such file */ } resource_error_e; #ifdef __cplusplus -- 2.7.4