From: Sunggyu Choi Date: Thu, 4 Jul 2019 02:08:30 +0000 (+0900) Subject: Add new custom error message of component X-Git-Tag: submit/tizen/20190704.021728^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F46%2F209246%2F1;p=platform%2Fcore%2Fapi%2Fcommon.git Add new custom error message of component Change-Id: I78c4d20b59dff3b3c08a9bca01e4a9419386480d Signed-off-by: Sunggyu Choi --- diff --git a/include/private/tizen_error_private.h b/include/private/tizen_error_private.h index a006735..99387c5 100644 --- a/include/private/tizen_error_private.h +++ b/include/private/tizen_error_private.h @@ -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"),