From d96efb5119f7cb30832cf8bd9d32d3bf7927e405 Mon Sep 17 00:00:00 2001 From: Sunggyu Choi Date: Tue, 13 Aug 2019 12:39:54 +0900 Subject: [PATCH] Add new custom errors for sticker, bundle Change-Id: I3cf6af1569e924594efba765711400742c7d45f0 Signed-off-by: Sunggyu Choi --- include/private/tizen_error_private.h | 3 +++ packaging/capi-base-common.spec | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/private/tizen_error_private.h b/include/private/tizen_error_private.h index 99387c5..ef94843 100644 --- a/include/private/tizen_error_private.h +++ b/include/private/tizen_error_private.h @@ -88,6 +88,7 @@ static err_info err_list[] = { ERR_ENTRY("CONNECTION_ERROR_NO_REPLY", TIZEN_ERROR_CONNECTION | 0x0408, "No reply"), ERR_ENTRY("CONNECTION_ERROR_ALREADY_INITIALIZED", TIZEN_ERROR_CONNECTION | 0x0409, "Already initialized"), ERR_ENTRY("CONNECTION_ERROR_NOT_INITIALIZED", TIZEN_ERROR_CONNECTION | 0x040A, "Not initialized"), + ERR_ENTRY("STICKER_ERROR_OPERATION_FAILED", TIZEN_ERROR_STICKER | 0x0001, "Operation failed"), ERR_ENTRY("ACCOUNT_ERROR_DUPLICATED", TIZEN_ERROR_ACCOUNT | 0x01, "Same user name exists in your application"), ERR_ENTRY("ACCOUNT_ERROR_RECORD_NOT_FOUND", TIZEN_ERROR_ACCOUNT | 0x03, "Related record does not exist"), ERR_ENTRY("ACCOUNT_ERROR_DB_FAILED", TIZEN_ERROR_ACCOUNT | 0x04, "DB operation failed"), @@ -296,6 +297,7 @@ static err_info err_list[] = { ERR_ENTRY("PLAYER_ERROR_NOT_SUPPORTED_AUDIO_CODEC", TIZEN_ERROR_PLAYER | 0x2e, "Not supported audio codec but video can be played"), ERR_ENTRY("PLAYER_ERROR_NOT_SUPPORTED_VIDEO_CODEC", TIZEN_ERROR_PLAYER | 0x2f, "Not supported video codec but audio can be played"), ERR_ENTRY("PLAYER_ERROR_NOT_SUPPORTED_SUBTITLE", TIZEN_ERROR_PLAYER | 0x30, "Not supported subtitle format"), + ERR_ENTRY("PLAYER_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_PLAYER | 0x31, "Not supported format"), ERR_ENTRY("THUMBNAIL_UTIL_ERROR_UNSUPPORTED_CONTENT", TIZEN_ERROR_THUMBNAIL_UTIL | 0x01, "Unsupported content"), ERR_ENTRY("SMARTCARD_ERROR_GENERAL", TIZEN_ERROR_SMARTCARD | 0x01, "A general error occurred"), ERR_ENTRY("SMARTCARD_ERROR_NO_SUCH_ELEMENT", TIZEN_ERROR_SMARTCARD | 0x02, "No such element error"), @@ -513,6 +515,7 @@ 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("BUNDLE_ERROR_ARRAY_INDEX_OUT_OF_BOUNDS", TIZEN_ERROR_BUNDLE | 0x02, "The index is out of bounds of the array"), 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"), diff --git a/packaging/capi-base-common.spec b/packaging/capi-base-common.spec index d459995..3c81376 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.48 +Version: 0.4.49 Release: 1 Group: Base License: Apache-2.0 -- 2.7.4