From: Sunggyu Choi Date: Wed, 4 Sep 2019 08:23:22 +0000 (+0900) Subject: Add new custom error of battery manager X-Git-Tag: submit/tizen/20190917.065730^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a57c086aeab33d9e2efaeceeb31d192729c29ae;p=platform%2Fcore%2Fapi%2Fcommon.git Add new custom error of battery manager Change-Id: Iea847baf002cd8ac7839fa3e056d9b9089b8ebbe Signed-off-by: Sunggyu Choi --- diff --git a/include/private/tizen_error_private.h b/include/private/tizen_error_private.h index ef94843..31f84c1 100644 --- a/include/private/tizen_error_private.h +++ b/include/private/tizen_error_private.h @@ -298,6 +298,7 @@ static err_info err_list[] = { 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("PLAYER_ERROR_NOT_AVAILABLE", TIZEN_ERROR_PLAYER | 0x32, "Not available operation"), 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"), @@ -549,6 +550,10 @@ 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("BATTERY_MONITOR_ERROR_RECORD_NOT_FOUND", TIZEN_ERROR_BATTERY_MONITOR | 0x01, "Related record does not exist"), + ERR_ENTRY("BATTERY_MONITOR_ERROR_DB_FAILED", TIZEN_ERROR_BATTERY_MONITOR | 0x02, "DB operation failed"), + ERR_ENTRY("BATTERY_MONITOR_ERROR_DB_NOT_OPENED", TIZEN_ERROR_BATTERY_MONITOR | 0x03, "DB is not connected"), + ERR_ENTRY("BATTERY_MONITOR_ERROR_INTERNAL", TIZEN_ERROR_BATTERY_MONITOR | 0x04, "Internal error for generic use"), 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"), diff --git a/packaging/capi-base-common.spec b/packaging/capi-base-common.spec index 3c81376..632dc4e 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.49 +Version: 0.4.50 Release: 1 Group: Base License: Apache-2.0