Add Definition of TIZEN_ERROR_ASP and error messages of it for ACR-896 37/123537/4
authorYu Jiung <jiung.yu@samsung.com>
Thu, 6 Apr 2017 04:47:49 +0000 (13:47 +0900)
committerJiung Yu <jiung.yu@samsung.com>
Wed, 12 Apr 2017 05:07:52 +0000 (14:07 +0900)
Change-Id: I011b6a75184f658b469af3cc3c2af4e9d9544db6
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
error_messages/capi-network-asp.xml [new file with mode: 0644]
include/tizen_error.h

diff --git a/error_messages/capi-network-asp.xml b/error_messages/capi-network-asp.xml
new file mode 100644 (file)
index 0000000..d89bf10
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/asp">
+       <error name="ASP_ERROR_NOT_INITIALIZED">
+               <value>TIZEN_ERROR_ASP | 0x01</value>
+               <msg>Not initialized</msg>
+       </error>
+       <error name="ASP_ERROR_ALREADY_INITIALIZED">
+               <value>TIZEN_ERROR_ASP | 0x02</value>
+               <msg>Already initialized</msg>
+       </error>
+       <error name="ASP_ERROR_COMMUNICATION_FAILED">
+               <value>TIZEN_ERROR_ASP | 0x03</value>
+               <msg>I/O error</msg>
+       </error>
+       <error name="ASP_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_ASP | 0x04</value>
+               <msg>Operation failed</msg>
+       </error>
+       <error name="ASP_ERROR_IN_PROGRESS">
+               <value>TIZEN_ERROR_ASP | 0x05</value>
+               <msg>In progress</msg>
+       </error>
+       <error name="ASP_ERROR_SERVICE_NOT_FOUND">
+               <value>TIZEN_ERROR_ASP | 0x06</value>
+               <msg>Service not found</msg>
+       </error>
+       <error name="ASP_ERROR_SESSION_NOT_FOUND">
+               <value>TIZEN_ERROR_ASP | 0x07</value>
+               <msg>Session not found</msg>
+       </error>
+       <error name="ASP_ERROR_NETWORK_ROLE_REJECTED">
+               <value>TIZEN_ERROR_ASP | 0x08</value>
+               <msg>Requested network role rejected</msg>
+       </error>
+</package>
+
index b3c4efd..c49e4e0 100644 (file)
@@ -269,6 +269,8 @@ extern "C" {
 #define TIZEN_ERROR_WIDGET              -0x02F40000
 /* Tizen Voice Control Error */
 #define TIZEN_ERROR_VOICE_CONTROL       -0x02F50000
 #define TIZEN_ERROR_WIDGET              -0x02F40000
 /* Tizen Voice Control Error */
 #define TIZEN_ERROR_VOICE_CONTROL       -0x02F50000
+/* Tizen Application Service Platform (ASP) Error */
+#define TIZEN_ERROR_ASP                 -0x02F60000
 
 /**
  * @brief Enumeration for tizen errors.
 
 /**
  * @brief Enumeration for tizen errors.