From c124dc68b8f9556bf380ea131d7f31488719579d Mon Sep 17 00:00:00 2001 From: ByungWoo Lee Date: Fri, 3 Jun 2016 10:31:06 +0900 Subject: [PATCH] Add error messages of csr Change-Id: I3975201ffccb7070df95c1d7c5ace978ac476afa --- error_messages/{csr-framework.xml => csr.xml} | 0 include/private/tizen_error_private.h | 15 +++++++++++++++ include/tizen_error.h | 2 ++ packaging/capi-base-common.spec | 2 +- 4 files changed, 18 insertions(+), 1 deletion(-) rename error_messages/{csr-framework.xml => csr.xml} (100%) diff --git a/error_messages/csr-framework.xml b/error_messages/csr.xml similarity index 100% rename from error_messages/csr-framework.xml rename to error_messages/csr.xml diff --git a/include/private/tizen_error_private.h b/include/private/tizen_error_private.h index 47afe7b..900170b 100644 --- a/include/private/tizen_error_private.h +++ b/include/private/tizen_error_private.h @@ -71,6 +71,21 @@ static err_info err_list[] = { ERR_ENTRY("NOTIFICATION_ERROR_FROM_DBUS", TIZEN_ERROR_NOTIFICATION | 0x03, "Error from DBus"), ERR_ENTRY("NOTIFICATION_ERROR_NOT_EXIST_ID", TIZEN_ERROR_NOTIFICATION | 0x04, "Not exist private ID "), ERR_ENTRY("NOTIFICATION_ERROR_SERVICE_NOT_READY", TIZEN_ERROR_NOTIFICATION | 0x05, "No reponse from notification service"), + ERR_ENTRY("CSR_ERROR_SOCKET", TIZEN_ERROR_CSR | 0x01, "Socket error between client and server"), + ERR_ENTRY("CSR_ERROR_INVALID_HANDLE", TIZEN_ERROR_CSR | 0x02, "The given handle is invalid"), + ERR_ENTRY("CSR_ERROR_SERVER", TIZEN_ERROR_CSR | 0x03, "Server has been failed for some reason"), + ERR_ENTRY("CSR_ERROR_NO_TASK", TIZEN_ERROR_CSR | 0x04, "No Task exists"), + ERR_ENTRY("CSR_ERROR_DB", TIZEN_ERROR_CSR | 0x05, "DB transaction error"), + ERR_ENTRY("CSR_ERROR_REMOVE_FAILED", TIZEN_ERROR_CSR | 0x06, "Removing file or application is failed"), + ERR_ENTRY("CSR_ERROR_FILE_DO_NOT_EXIST", TIZEN_ERROR_CSR | 0x07, "File not exist"), + ERR_ENTRY("CSR_ERROR_FILE_CHANGED", TIZEN_ERROR_CSR | 0x08, "File changed after detection"), + ERR_ENTRY("CSR_ERROR_FILE_SYSTEM", TIZEN_ERROR_CSR | 0x09, "File type is invalid"), + ERR_ENTRY("CSR_ERROR_ENGINE_PERMISSION", TIZEN_ERROR_CSR | 0x11, "Insufficient permission of engine"), + ERR_ENTRY("CSR_ERROR_ENGINE_NOT_EXIST", TIZEN_ERROR_CSR | 0x12, "No engine exists"), + ERR_ENTRY("CSR_ERROR_ENGINE_DISABLED", TIZEN_ERROR_CSR | 0x13, "Engine is in disabled state"), + ERR_ENTRY("CSR_ERROR_ENGINE_NOT_ACTIVATED", TIZEN_ERROR_CSR | 0x14, "Engine is not activated"), + ERR_ENTRY("CSR_ERROR_ENGINE_INTERNAL", TIZEN_ERROR_CSR | 0x19, "Engine internal error"), + ERR_ENTRY("CSR_ERROR_SYSTEM", TIZEN_ERROR_CSR | 0xFF, "System error"), ERR_ENTRY("RADIO_ERROR_INVALID_STATE", TIZEN_ERROR_RADIO | 0x01, "Invalid state"), ERR_ENTRY("RADIO_ERROR_SOUND_POLICY", TIZEN_ERROR_RADIO | 0x02, "Sound policy error"), ERR_ENTRY("RADIO_ERROR_NO_ANTENNA", TIZEN_ERROR_RADIO | 0x03, "No Antenna error"), diff --git a/include/tizen_error.h b/include/tizen_error.h index 5f31c3c..1a42eeb 100644 --- a/include/tizen_error.h +++ b/include/tizen_error.h @@ -193,6 +193,8 @@ extern "C" { #define TIZEN_ERROR_KEY_MANAGER -0x01E10000 /* Tizen PRIVILEGE INFO Error */ #define TIZEN_ERROR_PRIVILEGE_INFORMATION -0x01E20000 +/* Tizen CSR Error */ +#define TIZEN_ERROR_CSR -0x01E30000 /* Tizen Calendar Error */ #define TIZEN_ERROR_CALENDAR -0x02000000 /* Tizen Contacts Error */ diff --git a/packaging/capi-base-common.spec b/packaging/capi-base-common.spec index b79e66f..b498070 100644 --- a/packaging/capi-base-common.spec +++ b/packaging/capi-base-common.spec @@ -1,6 +1,6 @@ Name: capi-base-common Summary: Common header files of Tizen Native API -Version: 0.4.6 +Version: 0.4.7 Release: 1 Group: Base License: Apache-2.0 -- 2.7.4