From: Sunggyu Choi Date: Fri, 16 Sep 2022 01:52:50 +0000 (+0900) Subject: Add new module custom error for resource monitor X-Git-Tag: accepted/tizen/unified/20220919.021613^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5e9d5e97abfb503c2fc1c2eb633ca897a5573fa;p=platform%2Fcore%2Fapi%2Fcommon.git Add new module custom error for resource monitor Change-Id: I35fac3134b62a29a5351adca8536fc17b4b81446 Signed-off-by: Sunggyu Choi --- diff --git a/include/private/tizen_error_private.h b/include/private/tizen_error_private.h index 55b2356..0765ec3 100644 --- a/include/private/tizen_error_private.h +++ b/include/private/tizen_error_private.h @@ -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"), diff --git a/include/tizen_error.h b/include/tizen_error.h index be908c3..67d801d 100644 --- a/include/tizen_error.h +++ b/include/tizen_error.h @@ -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. diff --git a/packaging/capi-base-common.spec b/packaging/capi-base-common.spec index a95d9ac..4995641 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.73 +Version: 0.4.74 Release: 1 Group: Base License: Apache-2.0