Add new custom error of battery manager 27/213327/1 accepted/tizen/unified/20190918.102211 submit/tizen/20190917.065730
authorSunggyu Choi <sunggyu.choi@samsung.com>
Wed, 4 Sep 2019 08:23:22 +0000 (17:23 +0900)
committerSunggyu Choi <sunggyu.choi@samsung.com>
Wed, 4 Sep 2019 08:28:34 +0000 (17:28 +0900)
Change-Id: Iea847baf002cd8ac7839fa3e056d9b9089b8ebbe
Signed-off-by: Sunggyu Choi <sunggyu.choi@samsung.com>
include/private/tizen_error_private.h
packaging/capi-base-common.spec

index ef948433d97595866adbfa7b816a46a157199a74..31f84c193ef8d48a14ad7d0441b946dee456c96c 100644 (file)
@@ -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"),
index 3c81376868730d07c6367d81788f3c1abcab410f..632dc4e0395127063b844c41809e498d1b0f58c7 100644 (file)
@@ -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