From ced1b39c491498494e3a25bffdc3c94f4a9867e4 Mon Sep 17 00:00:00 2001 From: Sunggyu Choi Date: Thu, 6 Sep 2018 16:54:32 +0900 Subject: [PATCH] Add new custom error for Update Control and Mutli Assistant Change-Id: I2e93c6093da2b8a27963b72800fa23811cdda9d7 Signed-off-by: Sunggyu Choi --- include/private/tizen_error_private.h | 4 ++++ include/tizen_error.h | 11 ++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/include/private/tizen_error_private.h b/include/private/tizen_error_private.h index 7cd10c4..a52b9a2 100644 --- a/include/private/tizen_error_private.h +++ b/include/private/tizen_error_private.h @@ -189,6 +189,10 @@ static err_info err_list[] = { ERR_ENTRY("LOCATIONS_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_LOCATION_MANAGER | 0x05, "Restricted by security system policy"), ERR_ENTRY("LOCATION_BOUNDS_ERROR_INCORRECT_TYPE", TIZEN_ERROR_LOCATION_MANAGER | 0x21, "Incorrect bounds type for a given call"), ERR_ENTRY("LOCATION_BOUNDS_ERROR_IS_ADDED", TIZEN_ERROR_LOCATION_MANAGER | 0x22, "Cannot remove bounds handle from location manager"), + ERR_ENTRY("UPDATE_CONTROL_ERROR_INVALID_PACKAGE", TIZEN_ERROR_UPDATE_CONTROL | 0x01, "Invalid package"), + ERR_ENTRY("UPDATE_CONTROL_ERROR_INVALID_URI", TIZEN_ERROR_UPDATE_CONTROL | 0x02, "Invalid URI"), + ERR_ENTRY("UPDATE_CONTROL_ERROR_PACKAGE_NOT_SUPPORTED", TIZEN_ERROR_UPDATE_CONTROL | 0x03, "Package type not supported"), + ERR_ENTRY("UPDATE_CONTROL_ERROR_SYSTEM_ERROR", TIZEN_ERROR_UPDATE_CONTROL | 0x04, "System error"), ERR_ENTRY("SSDP_ERROR_NOT_INITIALIZED", TIZEN_ERROR_SSDP | 0x01, "Not initialized"), ERR_ENTRY("SSDP_ERROR_OPERATION_FAILED", TIZEN_ERROR_SSDP | 0x04, "Operation failed"), ERR_ENTRY("SSDP_ERROR_SERVICE_NOT_FOUND", TIZEN_ERROR_SSDP | 0x05, "Service not found"), diff --git a/include/tizen_error.h b/include/tizen_error.h index 923741f..68e4046 100644 --- a/include/tizen_error.h +++ b/include/tizen_error.h @@ -106,7 +106,7 @@ extern "C" { /* Tizen Data Control Error */ #define TIZEN_ERROR_DATA_CONTROL -0x01190000 /* Tizen Service Application Error */ -#define TIZEN_ERROR_SERVICE_APPLICATION -0x01200000 +#define TIZEN_ERROR_SERVICE_APPLICATION -0x01200000 /* Tizen MINICONTROL Error */ #define TIZEN_ERROR_MINICONTROL -0x01210000 /* Tizen Utility ICU Error */ @@ -248,7 +248,7 @@ extern "C" { /* Tizen TZSH Error */ #define TIZEN_ERROR_TZSH -0x02860000 /* Tizen Download Error */ -#define TIZEN_ERROR_DOWNLOAD -0x02A00000 +#define TIZEN_ERROR_DOWNLOAD -0x02A00000 /* Tizen WebView Error */ #define TIZEN_ERROR_WEBVIEW -0x02A10000 /* Tizen Location Manager Error */ @@ -256,7 +256,7 @@ extern "C" { /* Tizen Geofence Manager Error */ #define TIZEN_ERROR_GEOFENCE_MANAGER -0x02C10000 /* Tizen Maps Service Error */ -#define TIZEN_ERROR_MAPS_SERVICE -0x02C20000 +#define TIZEN_ERROR_MAPS_SERVICE -0x02C20000 /* Tizen STT Error */ #define TIZEN_ERROR_STT -0x02F00000 /* Tizen TTS Error */ @@ -287,6 +287,11 @@ extern "C" { #define TIZEN_ERROR_DEVICE_CERTIFICATE_MANAGER -0x02FD0000 /* Tizen Intelligent Network Monitoring (INM) Error */ #define TIZEN_ERROR_INM -0x02FDE0000 +/* Update Control Error */ +#define TIZEN_ERROR_UPDATE_CONTROL -0x02FDF0000 +/* Multi Assistant Error */ +#define TIZEN_ERROR_MULTI_ASSISTANT -0x02FE00000 + /** * @brief Enumeration for tizen errors. -- 2.7.4