Add the error code E_UNKNOWN 45/123345/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 5 Apr 2017 08:17:28 +0000 (17:17 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 5 Apr 2017 08:17:28 +0000 (17:17 +0900)
It can be used to denote any unclear errors.

Change-Id: Ic70265f860f5fcf735940d74404879f7dd1b4c15
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
include/ContextTypes.h
src/shared/SharedUtil.cpp

index b9ddd57..f053410 100644 (file)
@@ -37,6 +37,7 @@
 #define E_ACCESS       TIZEN_ERROR_PERMISSION_DENIED   /* Permission denied */
 #define E_SUPPORT      TIZEN_ERROR_NOT_SUPPORTED               /* Feature not supported */
 #define E_NO_DATA      TIZEN_ERROR_NO_DATA                             /* No data available */
+#define E_UNKNOWN      TIZEN_ERROR_UNKNOWN                             /* Unknown error */
 
 #define E_STARTED              (TIZEN_ERROR_CONTEXT | 0x01)    /* Feature already activated */
 #define E_NOT_STARTED  (TIZEN_ERROR_CONTEXT | 0x02)    /* Feature already deactivated */
index bc0ce33..b20b256 100644 (file)
@@ -29,6 +29,7 @@ static const GDBusErrorEntry __ctxErrorEntries[] =
        {E_ACCESS,      ERROR_PREFIX "Access"},
        {E_SUPPORT,     ERROR_PREFIX "Support"},
        {E_NO_DATA,     ERROR_PREFIX "NoData"},
+       {E_UNKNOWN,     ERROR_PREFIX "Unknown"},
        {E_STARTED,     ERROR_PREFIX "Started"},
        {E_NOT_STARTED, ERROR_PREFIX "NotStarted"},
        {E_RANGE,       ERROR_PREFIX "Range"},