Add new custom error for Update Control and Mutli Assistant 78/188578/1 accepted/tizen/unified/20180907.211628 submit/tizen/20180906.080454
authorSunggyu Choi <sunggyu.choi@samsung.com>
Thu, 6 Sep 2018 07:54:32 +0000 (16:54 +0900)
committerSunggyu Choi <sunggyu.choi@samsung.com>
Thu, 6 Sep 2018 07:55:18 +0000 (16:55 +0900)
Change-Id: I2e93c6093da2b8a27963b72800fa23811cdda9d7
Signed-off-by: Sunggyu Choi <sunggyu.choi@samsung.com>
include/private/tizen_error_private.h
include/tizen_error.h

index 7cd10c4..a52b9a2 100644 (file)
@@ -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"),
index 923741f..68e4046 100644 (file)
@@ -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.