Add new custom error message of component 46/209246/1 submit/tizen/20190704.021728
authorSunggyu Choi <sunggyu.choi@samsung.com>
Thu, 4 Jul 2019 02:08:30 +0000 (11:08 +0900)
committerSunggyu Choi <sunggyu.choi@samsung.com>
Thu, 4 Jul 2019 02:08:30 +0000 (11:08 +0900)
Change-Id: I78c4d20b59dff3b3c08a9bca01e4a9419386480d
Signed-off-by: Sunggyu Choi <sunggyu.choi@samsung.com>
include/private/tizen_error_private.h

index a006735..99387c5 100644 (file)
@@ -513,6 +513,10 @@ static err_info err_list[] = {
        ERR_ENTRY("APP_MANAGER_ERROR_APP_NO_RUNNING", TIZEN_ERROR_APPLICATION_MANAGER | 0x05, "App is not running"),
        ERR_ENTRY("APP_MANAGER_ERROR_REQUEST_FAILED", TIZEN_ERROR_APPLICATION_MANAGER | 0x06, "Internal aul request error"),
        ERR_ENTRY("BUNDLE_ERROR_KEY_EXISTS", TIZEN_ERROR_BUNDLE | 0x01, "Key exists"),
+       ERR_ENTRY("COMPONENT_ERROR_INVALID_CONTEXT", TIZEN_ERROR_COMPONENT | 0x01, "Invalid context parameter"),
+       ERR_ENTRY("COMPONENT_ERROR_NOT_FOUND", TIZEN_ERROR_COMPONENT | 0x02, "No such component"),
+       ERR_ENTRY("COMPONENT_ERROR_LAUNCH_REJECTED", TIZEN_ERROR_COMPONENT | 0x03, "The component application cannot be launched now"),
+       ERR_ENTRY("COMPONENT_ERROR_LAUNCH_FAILED", TIZEN_ERROR_COMPONENT | 0x04, "Internal launch error"),
        ERR_ENTRY("MA_ERROR_INVALID_STATE", TIZEN_ERROR_MULTI_ASSISTANT | 0x011, "Invalid state"),
        ERR_ENTRY("MA_ERROR_INVALID_LANGUAGE", TIZEN_ERROR_MULTI_ASSISTANT | 0x012, "Invalid language"),
        ERR_ENTRY("MA_ERROR_ENGINE_NOT_FOUND", TIZEN_ERROR_MULTI_ASSISTANT | 0x013, "No available engine"),
@@ -542,6 +546,11 @@ static err_info err_list[] = {
        ERR_ENTRY("PHONE_NUMBER_ERROR_SYSTEM", TIZEN_ERROR_PHONENUMBER_UTILS | 0xEF, "Internal error"),
        ERR_ENTRY("PHONE_NUMBER_ERROR_DB_FAILED", TIZEN_ERROR_PHONENUMBER_UTILS | 0x02, "No access to the database"),
        ERR_ENTRY("PHONE_NUMBER_ERROR_IPC", TIZEN_ERROR_PHONENUMBER_UTILS | 0xBF, "Unknown IPC error"),
+       ERR_ENTRY("COMPONENT_MANAGER_ERROR_NO_SUCH_COMPONENT", TIZEN_ERROR_COMPONENT_MANAGER | 0x01, "No such component"),
+       ERR_ENTRY("COMPONENT_MANAGER_ERROR_DB_FAILED", TIZEN_ERROR_COMPONENT_MANAGER | 0x03, "Database error"),
+       ERR_ENTRY("COMPONENT_MANAGER_ERROR_INVALID_APPLICATION", TIZEN_ERROR_COMPONENT_MANAGER | 0x04, "Invalid application ID"),
+       ERR_ENTRY("COMPONENT_MANAGER_ERROR_NO_RUNNING", TIZEN_ERROR_COMPONENT_MANAGER | 0x05, "Component is not running"),
+       ERR_ENTRY("COMPONENT_MANAGER_ERROR_LABEL_NOT_FOUND", TIZEN_ERROR_COMPONENT_MANAGER | 0x06, "Label not found"),
        ERR_ENTRY("USB_HOST_ERROR_NOT_FOUND", TIZEN_ERROR_USB_HOST | 0x01, "Entity not found"),
        ERR_ENTRY("USB_HOST_ERROR_OVERFLOW", TIZEN_ERROR_USB_HOST | 0x02, "Overflow"),
        ERR_ENTRY("USB_HOST_ERROR_DEVICE_NOT_OPENED", TIZEN_ERROR_USB_HOST | 0x03, "Device is not opened"),