Add new error class and error message for intelligent network monitoring (INM) (ACR... 10/182810/2 submit/tizen/20180628.082619
authortaesub kim <taesub.kim@samsung.com>
Thu, 28 Jun 2018 07:01:58 +0000 (16:01 +0900)
committertaesub kim <taesub.kim@samsung.com>
Thu, 28 Jun 2018 07:58:15 +0000 (16:58 +0900)
Change-Id: I2aa8c9c4a6ae4a8ec269012279414b329fd25ca0
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
error_messages/capi-network-inm.xml [new file with mode: 0644]
include/tizen_error.h
packaging/capi-base-common.spec

diff --git a/error_messages/capi-network-inm.xml b/error_messages/capi-network-inm.xml
new file mode 100644 (file)
index 0000000..0271ffa
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/intelligent-network-monitoring">
+       <error name="INM_ERROR_NOT_INITIALIZED">
+               <value>TIZEN_ERROR_INM | 0x01</value>
+               <msg>Not initialized</msg>
+       </error>
+       <error name="INM_ERROR_ALREADY_INITIALIZED">
+               <value>TIZEN_ERROR_INM | 0x02</value>
+               <msg>Already initialized</msg>
+       </error>
+       <error name="INM_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_INM | 0x03</value>
+               <msg>Operation failed</msg>
+       </error>
+</package>
index e2ba276..e0c4777 100644 (file)
@@ -285,6 +285,8 @@ extern "C" {
 #define TIZEN_ERROR_COMPLICATION        -0x02FC0000
 /* Tizen Device Certificate Manager Error */
 #define TIZEN_ERROR_DEVICE_CERTIFICATE_MANAGER -0x02FD0000
+/* Tizen Intelligent Network Monitoring (INM) Error */
+#define TIZEN_ERROR_INM                 -0x02FDE0000
 
 /**
  * @brief Enumeration for tizen errors.
index b6b6e1e..7216d7a 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-base-common
 Summary:    Common header files of Tizen Native API
-Version:    0.4.27
+Version:    0.4.28
 Release:    1
 Group:      Base
 License:    Apache-2.0