Add new module custom error for resource monitor 56/281356/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.063131 accepted/tizen/7.0/unified/hotfix/20221116.104621 accepted/tizen/unified/20220919.021613 tizen_7.0_m2_release
authorSunggyu Choi <sunggyu.choi@samsung.com>
Fri, 16 Sep 2022 01:52:50 +0000 (10:52 +0900)
committerSunggyu Choi <sunggyu.choi@samsung.com>
Fri, 16 Sep 2022 01:52:50 +0000 (10:52 +0900)
Change-Id: I35fac3134b62a29a5351adca8536fc17b4b81446
Signed-off-by: Sunggyu Choi <sunggyu.choi@samsung.com>
include/private/tizen_error_private.h
include/tizen_error.h
packaging/capi-base-common.spec

index 55b2356..0765ec3 100644 (file)
@@ -14,6 +14,8 @@
  * limitations under the License.
  */
 
+
+
 #ifndef __TIZEN_COMMON_ERROR_PRIVATE_H__
 #define __TIZEN_COMMON_ERROR_PRIVATE_H__
 
@@ -541,6 +543,8 @@ static err_info err_list[] = {
        ERR_ENTRY("APP_MANAGER_ERROR_INVALID_PACKAGE", TIZEN_ERROR_APPLICATION_MANAGER | 0x04, "Invalid package name"),
        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("RESOURCE_MONITOR_ERROR_NOT_SUPPORTED_RESOURCE", TIZEN_ERROR_RESOURCE_MONITOR | 0x01, "Unable to monitor the resource type"),
+       ERR_ENTRY("RESOURCE_MONITOR_ERROR_NOT_SUPPORTED_ATTRIBUTE", TIZEN_ERROR_RESOURCE_MONITOR | 0x02, "The resource attribute is unavailable"),
        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"),
index be908c3..67d801d 100644 (file)
@@ -317,6 +317,8 @@ extern "C" {
 #define TIZEN_ERROR_CION                -0x030C0000
 /* Media Editor */
 #define TIZEN_ERROR_MEDIA_EDITOR        -0x030D0000
+/* Resource Monitor */
+#define TIZEN_ERROR_RESOURCE_MONITOR    -0x030E0000
 
 /**
  * @brief Enumeration for tizen errors.
index a95d9ac..4995641 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-base-common
 Summary:    Common header files of Tizen Native API
-Version:    0.4.73
+Version:    0.4.74
 Release:    1
 Group:      Base
 License:    Apache-2.0