Get error messages from xml files 46/58446/3
authorByungWoo Lee <bw1212.lee@samsung.com>
Mon, 1 Feb 2016 06:26:06 +0000 (15:26 +0900)
committerByungWoo Lee <bw1212.lee@samsung.com>
Mon, 1 Feb 2016 07:26:28 +0000 (16:26 +0900)
Change-Id: I2ad38b691e091507c0ed9ab8b16eb3cc61c5c68e

77 files changed:
README [new file with mode: 0644]
error_messages/attach-panel-core.xml [new file with mode: 0644]
error_messages/badge.xml [new file with mode: 0644]
error_messages/bundle.xml [new file with mode: 0644]
error_messages/calendar-service.xml [new file with mode: 0644]
error_messages/capi-appfw-app-manager.xml [new file with mode: 0644]
error_messages/capi-appfw-application.xml [new file with mode: 0644]
error_messages/capi-appfw-package-manager.xml [new file with mode: 0644]
error_messages/capi-base-common.xml [new file with mode: 0644]
error_messages/capi-content-media-content.xml [new file with mode: 0644]
error_messages/capi-data-control.xml [new file with mode: 0644]
error_messages/capi-geofence-manager.xml [new file with mode: 0644]
error_messages/capi-location-manager.xml [new file with mode: 0644]
error_messages/capi-maps-service.xml [new file with mode: 0644]
error_messages/capi-media-audio-io.xml [new file with mode: 0644]
error_messages/capi-media-camera.xml [new file with mode: 0644]
error_messages/capi-media-codec.xml [new file with mode: 0644]
error_messages/capi-media-image-util.xml [new file with mode: 0644]
error_messages/capi-media-metadata-editor.xml [new file with mode: 0644]
error_messages/capi-media-metadata-extractor.xml [new file with mode: 0644]
error_messages/capi-media-player.xml [new file with mode: 0644]
error_messages/capi-media-radio.xml [new file with mode: 0644]
error_messages/capi-media-recorder.xml [new file with mode: 0644]
error_messages/capi-media-sound-manager.xml [new file with mode: 0644]
error_messages/capi-media-streamer.xml [new file with mode: 0644]
error_messages/capi-media-tone-player.xml [new file with mode: 0644]
error_messages/capi-media-video-util.xml [new file with mode: 0644]
error_messages/capi-media-vision.xml [new file with mode: 0644]
error_messages/capi-media-wav-player.xml [new file with mode: 0644]
error_messages/capi-mediademuxer.xml [new file with mode: 0644]
error_messages/capi-mediamuxer.xml [new file with mode: 0644]
error_messages/capi-message-port.xml [new file with mode: 0644]
error_messages/capi-messaging-email.xml [new file with mode: 0644]
error_messages/capi-messaging-messages.xml [new file with mode: 0644]
error_messages/capi-network-bluetooth.xml [new file with mode: 0644]
error_messages/capi-network-connection.xml [new file with mode: 0644]
error_messages/capi-network-nfc.xml [new file with mode: 0644]
error_messages/capi-network-smartcard.xml [new file with mode: 0644]
error_messages/capi-network-tethering.xml [new file with mode: 0644]
error_messages/capi-network-wifi-direct.xml [new file with mode: 0644]
error_messages/capi-network-wifi.xml [new file with mode: 0644]
error_messages/capi-system-device.xml [new file with mode: 0644]
error_messages/capi-system-media-key.xml [new file with mode: 0644]
error_messages/capi-system-sensor.xml [new file with mode: 0644]
error_messages/capi-system-system-settings.xml [new file with mode: 0644]
error_messages/capi-telephony.xml [new file with mode: 0644]
error_messages/capi-ui-efl-util.xml [new file with mode: 0644]
error_messages/capi-ui-inputmethod-manager.xml [new file with mode: 0644]
error_messages/capi-ui-inputmethod.xml [new file with mode: 0644]
error_messages/capi-web-url-download.xml [new file with mode: 0644]
error_messages/capi_base_utils.xml [new file with mode: 0644]
error_messages/contacts-service.xml [new file with mode: 0644]
error_messages/context.xml [new file with mode: 0644]
error_messages/iotcon.xml [new file with mode: 0644]
error_messages/key-manager.xml [new file with mode: 0644]
error_messages/libaccount-service.xml [new file with mode: 0644]
error_messages/libcore-sync-client.xml [new file with mode: 0644]
error_messages/libeom.xml [new file with mode: 0644]
error_messages/libfeedback.xml [new file with mode: 0644]
error_messages/liboauth2.xml [new file with mode: 0644]
error_messages/libshortcut.xml [new file with mode: 0644]
error_messages/libstorage.xml [new file with mode: 0644]
error_messages/minicontrol.xml [new file with mode: 0644]
error_messages/motion.xml [new file with mode: 0644]
error_messages/notification.xml [new file with mode: 0644]
error_messages/phonenumber-utils.xml [new file with mode: 0644]
error_messages/service-adaptor.xml [new file with mode: 0644]
error_messages/stt.xml [new file with mode: 0644]
error_messages/tts.xml [new file with mode: 0644]
error_messages/voice-contro-elm.xml [new file with mode: 0644]
error_messages/voice-control.xml [new file with mode: 0644]
error_messages/widget_service.xml [new file with mode: 0644]
include/private/tizen_error_private.h [new file with mode: 0644]
src/tizen_error.c
tool/error_msg_template.xml [new file with mode: 0644]
tool/make_msg_header.py [new file with mode: 0644]
tool/tizen_error_private_template.h [new file with mode: 0644]

diff --git a/README b/README
new file mode 100644 (file)
index 0000000..db51028
--- /dev/null
+++ b/README
@@ -0,0 +1,23 @@
+--------------------------------------------------------------
+How to update error messages
+--------------------------------------------------------------
+1. Copy common/tool/error_msg_template.xml to common/error_messages/{your_package_name}.xml.
+2. Modify "package uri" in the xml file, which means git path of your package.
+3. Add you error enumerators into the xml file. 
+   If your enumerator has same value as enumerator in tizen_error_e, then you don't have to add that error enumerator. (Ex. APP_ERROR_NONE, APP_ERROR_INVALID_PARAMETER)
+    - error name : The name of error enumerator
+    - value : The value of error enumerator. This value MUST be represented by error macro in tizen.h
+        ex) TIZEN_ERROR_APPLICATION | 0x01 (O)
+            CAMERA_ERROR_CLASS | 0x02 (X) => CAMERA_ERROR_CLASS is defined in camera.h. This MUST be "TIZEN_ERROR_CAMERA | 0x02".
+    - msg : The message of error enumerator
+4. If you pushed changes into gerrit, then please add the following people as reviewer.
+  - Sunggyu Choi (sunggyu.choi@samsung.com)
+  - ByungWoo Lee (bw1212.lee@samsung.com)
+
+
+--------------------------------------------------------------
+How to submit this package with updated error messages
+--------------------------------------------------------------
+1. Run python common/tool/make_msg_header.py
+2. common/include/private/tizen_error_private.h will be modified, so check "err_list" in that file.
+3. Submit this package by "gbs submit".
\ No newline at end of file
diff --git a/error_messages/attach-panel-core.xml b/error_messages/attach-panel-core.xml
new file mode 100644 (file)
index 0000000..3625167
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="apps/native/attach-panel">
+       <error name="ATTACH_PANEL_ERROR_ALREADY_EXISTS">
+               <value>TIZEN_ERROR_PANEL | 0x01</value>
+               <msg>There is already a panel in the conformant</msg>
+       </error>
+       <error name="ATTACH_PANEL_ERROR_NOT_INITIALIZED">
+               <value>TIZEN_ERROR_PANEL | 0x02</value>
+               <msg>The panel is not initialized yet</msg>
+       </error>
+       <error name="ATTACH_PANEL_ERROR_UNSUPPORTED_CONTENT_CATEGORY">
+               <value>TIZEN_ERROR_PANEL | 0x03</value>
+               <msg>Not supported content category</msg>
+       </error>
+       <error name="ATTACH_PANEL_ERROR_ALREADY_DESTROYED">
+               <value>TIZEN_ERROR_PANEL | 0x05</value>
+               <msg>The panel is already removed</msg>
+       </error>
+</package>
+
diff --git a/error_messages/badge.xml b/error_messages/badge.xml
new file mode 100644 (file)
index 0000000..63135e4
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/appfw/badge">
+       <error name="BADGE_ERROR_FROM_DB">
+               <value>TIZEN_ERROR_BADGE | 0x01</value>
+               <msg>Error from DB</msg>
+       </error>
+       <error name="BADGE_ERROR_ALREADY_EXIST">
+               <value>TIZEN_ERROR_BADGE | 0x02</value>
+               <msg>Already exist</msg>
+       </error>
+       <error name="BADGE_ERROR_FROM_DBUS">
+               <value>TIZEN_ERROR_BADGE | 0x03</value>
+               <msg>Error from DBus</msg>
+       </error>
+       <error name="BADGE_ERROR_NOT_EXIST">
+               <value>TIZEN_ERROR_BADGE | 0x04</value>
+               <msg>Not exist</msg>
+       </error>
+       <error name="BADGE_ERROR_SERVICE_NOT_READY">
+               <value>TIZEN_ERROR_BADGE | 0x05</value>
+               <msg>Error service not ready</msg>
+       </error>
+</package>
\ No newline at end of file
diff --git a/error_messages/bundle.xml b/error_messages/bundle.xml
new file mode 100644 (file)
index 0000000..1b99c63
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/base/bundle">
+       <error name="BUNDLE_ERROR_KEY_EXISTS">
+               <value>TIZEN_ERROR_BUNDLE | 0x01</value>
+               <msg>Key exists</msg>
+       </error>
+</package>
+
diff --git a/error_messages/calendar-service.xml b/error_messages/calendar-service.xml
new file mode 100644 (file)
index 0000000..723c2d4
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/pim/calendar-service">
+       <error name="CALENDAR_ERROR_DB_FAILED">
+               <value>TIZEN_ERROR_CALENDAR | 0x02</value>
+               <msg>No access to the database</msg>
+       </error>
+       <error name="CALENDAR_ERROR_ITERATOR_END">
+               <value>TIZEN_ERROR_CALENDAR | 0x04</value>
+               <msg>Iterator is on the last position</msg>
+       </error>
+       <error name="CALENDAR_ERROR_DB_RECORD_NOT_FOUND">
+               <value>TIZEN_ERROR_CALENDAR | 0x05</value>
+               <msg>Database not found</msg>
+       </error>
+       <error name="CALENDAR_ERROR_IPC">
+               <value>TIZEN_ERROR_CALENDAR | 0xBF</value>
+               <msg>Unknown IPC error</msg>
+       </error>
+       <error name="CALENDAR_ERROR_SYSTEM">
+               <value>TIZEN_ERROR_CALENDAR | 0xEF</value>
+               <msg>Error from another modules</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-appfw-app-manager.xml b/error_messages/capi-appfw-app-manager.xml
new file mode 100644 (file)
index 0000000..18b9e86
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/app-manager">
+       <error name="APP_MANAGER_ERROR_NO_SUCH_APP">
+               <value>TIZEN_ERROR_APPLICATION_MANAGER | 0x01</value>
+               <msg>No such application</msg>
+       </error>
+       <error name="APP_MANAGER_ERROR_DB_FAILED">
+               <value>TIZEN_ERROR_APPLICATION_MANAGER | 0x03</value>
+               <msg>Database error</msg>
+       </error>
+       <error name="APP_MANAGER_ERROR_INVALID_PACKAGE">
+               <value>TIZEN_ERROR_APPLICATION_MANAGER | 0x04</value>
+               <msg>Invalid package name</msg>
+       </error>
+       <error name="APP_MANAGER_ERROR_APP_NO_RUNNING">
+               <value>TIZEN_ERROR_APPLICATION_MANAGER | 0x05</value>
+               <msg>App is not running</msg>
+       </error>
+       <error name="APP_MANAGER_ERROR_REQUEST_FAILED">
+               <value>TIZEN_ERROR_APPLICATION_MANAGER | 0x06</value>
+               <msg>Internal aul request error</msg>
+       </error>
+</package>
\ No newline at end of file
diff --git a/error_messages/capi-appfw-application.xml b/error_messages/capi-appfw-application.xml
new file mode 100644 (file)
index 0000000..fa21b54
--- /dev/null
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/application">
+       <error name="APP_ERROR_INVALID_CONTEXT">
+               <value>TIZEN_ERROR_APPLICATION | 0x01</value>
+               <msg>Invalid application context</msg>
+       </error>
+       <error name="ALARM_ERROR_INVALID_TIME">
+               <value>TIZEN_ERROR_APPLICATION | 0x05</value>
+               <msg>Invalid time</msg>
+       </error>
+       <error name="ALARM_ERROR_INVALID_DATE">
+               <value>TIZEN_ERROR_APPLICATION | 0x06</value>
+               <msg>Invalid date</msg>
+       </error>
+       <error name="ALARM_ERROR_CONNECTION_FAIL">
+               <value>TIZEN_ERROR_APPLICATION | 0x07</value>
+               <msg>The alarm service connection failed</msg>
+       </error>
+       <error name="ALARM_ERROR_NOT_PERMITTED_APP">
+               <value>TIZEN_ERROR_APPLICATION | 0x08</value>
+               <msg>Application is not permitted</msg>
+       </error>
+       <error name="APP_CONTROL_ERROR_APP_NOT_FOUND">
+               <value>TIZEN_ERROR_APPLICATION | 0x21</value>
+               <msg>The application is not found</msg>
+       </error>
+       <error name="APP_CONTROL_ERROR_INVALID_DATA_TYPE">
+               <value>TIZEN_ERROR_APPLICATION | 0x22</value>
+               <msg>Invalid data type</msg>
+       </error>
+       <error name="APP_CONTROL_ERROR_LAUNCH_REJECTED">
+               <value>TIZEN_ERROR_APPLICATION | 0x23</value>
+               <msg>The application cannot be launched now</msg>
+       </error>
+       <error name="APP_CONTROL_ERROR_LAUNCH_FAILED">
+               <value>TIZEN_ERROR_APPLICATION | 0x24</value>
+               <msg>Internal launch error</msg>
+       </error>
+       <error name="PREFERENCE_ERROR_NO_KEY">
+               <value>TIZEN_ERROR_APPLICATION | 0x30</value>
+               <msg>Required key not available</msg>
+       </error>
+</package>
\ No newline at end of file
diff --git a/error_messages/capi-appfw-package-manager.xml b/error_messages/capi-appfw-package-manager.xml
new file mode 100644 (file)
index 0000000..b36f7f6
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/package-manager">
+       <error name="PACKAGE_MANAGER_ERROR_NO_SUCH_PACKAGE">
+               <value>TIZEN_ERROR_PACKAGE_MANAGER | 0x71</value>
+               <msg>No such package</msg>
+       </error>
+       <error name="PACKAGE_MANAGER_ERROR_SYSTEM_ERROR">
+               <value>TIZEN_ERROR_PACKAGE_MANAGER | 0x72</value>
+               <msg>Severe system error </msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-base-common.xml b/error_messages/capi-base-common.xml
new file mode 100644 (file)
index 0000000..c2f80b7
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/common">
+       <error name="TIZEN_ERROR_UNKNOWN">
+               <value>TIZEN_ERROR_UNKNOWN</value>
+               <msg>Unknown error</msg>
+       </error>
+       <error name="TIZEN_ERROR_TIMED_OUT">
+               <value>TIZEN_ERROR_TIMED_OUT</value>
+               <msg>Time out</msg>
+       </error>
+       <error name="TIZEN_ERROR_NOT_SUPPORTED">
+               <value>TIZEN_ERROR_NOT_SUPPORTED</value>
+               <msg>Not supported</msg>
+       </error>
+       <error name="TIZEN_ERROR_USER_NOT_CONSENTED">
+               <value>TIZEN_ERROR_USER_NOT_CONSENTED</value>
+               <msg>Not consented</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-content-media-content.xml b/error_messages/capi-content-media-content.xml
new file mode 100644 (file)
index 0000000..6550a02
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/media-content">
+       <error name="MEDIA_CONTENT_ERROR_DB_FAILED">
+               <value>TIZEN_ERROR_MEDIA_CONTENT | 0x01</value>
+               <msg>DB operation failed </msg>
+       </error>
+       <error name="MEDIA_CONTENT_ERROR_DB_BUSY">
+               <value>TIZEN_ERROR_MEDIA_CONTENT | 0x02</value>
+               <msg>DB operation BUSY</msg>
+       </error>
+       <error name="MEDIA_CONTENT_ERROR_NETWORK">
+               <value>TIZEN_ERROR_MEDIA_CONTENT | 0x03</value>
+               <msg>Network Fail</msg>
+       </error>
+       <error name="MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT">
+               <value>TIZEN_ERROR_MEDIA_CONTENT | 0x04</value>
+               <msg>Unsupported content</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-data-control.xml b/error_messages/capi-data-control.xml
new file mode 100644 (file)
index 0000000..b81b62d
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/appfw/data-control">
+       <error name="DATA_CONTROL_ERROR_MAX_EXCEEDED">
+               <value>TIZEN_ERROR_DATA_CONTROL | 0x01</value>
+               <msg>Too long argument</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-geofence-manager.xml b/error_messages/capi-geofence-manager.xml
new file mode 100644 (file)
index 0000000..926790b
--- /dev/null
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/geofence-manager">
+       <error name="GEOFENCE_MANAGER_ERROR_NOT_INITIALIZED">
+               <value>TIZEN_ERROR_GEOFENCE_MANAGER | 0x01</value>
+               <msg>Geofence Manager is not initialized</msg>
+       </error>
+       <error name="GEOFENCE_MANAGER_ERROR_INVALID_ID">
+               <value>TIZEN_ERROR_GEOFENCE_MANAGER | 0x02</value>
+               <msg>Invalid Geofence ID</msg>
+       </error>
+       <error name="GEOFENCE_MANAGER_ERROR_EXCEPTION">
+               <value>TIZEN_ERROR_GEOFENCE_MANAGER | 0x03</value>
+               <msg>exception is occurred</msg>
+       </error>
+       <error name="GEOFENCE_MANAGER_ERROR_ALREADY_STARTED">
+               <value>TIZEN_ERROR_GEOFENCE_MANAGER | 0x04</value>
+               <msg>Geofence is already started</msg>
+       </error>
+       <error name="GEOFENCE_MANAGER_ERROR_TOO_MANY_GEOFENCE">
+               <value>TIZEN_ERROR_GEOFENCE_MANAGER | 0x05</value>
+               <msg>Too many Geofence</msg>
+       </error>
+       <error name="GEOFENCE_MANAGER_ERROR_IPC">
+               <value>TIZEN_ERROR_GEOFENCE_MANAGER | 0x06</value>
+               <msg>Error occurred in GPS/Wi-Fi/BT</msg>
+       </error>
+       <error name="GEOFENCE_MANAGER_ERROR_DATABASE">
+               <value>TIZEN_ERROR_GEOFENCE_MANAGER | 0x07</value>
+               <msg>DB error occurred in the server side</msg>
+       </error>
+       <error name="GEOFENCE_MANAGER_ERROR_PLACE_ACCESS_DENIED">
+               <value>TIZEN_ERROR_GEOFENCE_MANAGER | 0x08</value>
+               <msg>Access to specified place is denied</msg>
+       </error>
+       <error name="GEOFENCE_MANAGER_ERROR_GEOFENCE_ACCESS_DENIED">
+               <value>TIZEN_ERROR_GEOFENCE_MANAGER | 0x09</value>
+               <msg>Access to specified geofence is denied</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-location-manager.xml b/error_messages/capi-location-manager.xml
new file mode 100644 (file)
index 0000000..2ea164b
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/location-manager">
+       <error name="LOCATIONS_ERROR_INCORRECT_METHOD">
+               <value>TIZEN_ERROR_LOCATION_MANAGER | 0x01</value>
+               <msg>Location manager contains incorrect method for a given call</msg>
+       </error>
+       <error name="LOCATIONS_ERROR_NETWORK_FAILED">
+               <value>TIZEN_ERROR_LOCATION_MANAGER | 0x02</value>
+               <msg>Network unavailable</msg>
+       </error>
+       <error name="LOCATIONS_ERROR_SERVICE_NOT_AVAILABLE">
+               <value>TIZEN_ERROR_LOCATION_MANAGER | 0x03</value>
+               <msg>Location service is not available</msg>
+       </error>
+       <error name="LOCATIONS_ERROR_GPS_SETTING_OFF">
+               <value>TIZEN_ERROR_LOCATION_MANAGER | 0x04</value>
+               <msg>GPS/WPS setting is not enabled</msg>
+       </error>
+       <error name="LOCATIONS_ERROR_SECURITY_RESTRICTED">
+               <value>TIZEN_ERROR_LOCATION_MANAGER | 0x05</value>
+               <msg>Restricted by security system policy</msg>
+       </error>
+       <error name="LOCATION_BOUNDS_ERROR_INCORRECT_TYPE">
+               <value>TIZEN_ERROR_LOCATION_MANAGER | 0x21</value>
+               <msg>Incorrect bounds type for a given call</msg>
+       </error>
+       <error name="LOCATION_BOUNDS_ERROR_IS_ADDED">
+               <value>TIZEN_ERROR_LOCATION_MANAGER | 0x22</value>
+               <msg>Cannot remove bounds handle from location manager</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-maps-service.xml b/error_messages/capi-maps-service.xml
new file mode 100644 (file)
index 0000000..73ff475
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/maps-service">
+       <error name="MAPS_ERROR_SERVICE_NOT_AVAILABLE">
+               <value>TIZEN_ERROR_MAPS_SERVICE | 0x01</value>
+               <msg>Service unavailable</msg>
+       </error>
+       <error name="MAPS_ERROR_NOT_FOUND">
+               <value>TIZEN_ERROR_MAPS_SERVICE | 0x02</value>
+               <msg>Result not found</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-media-audio-io.xml b/error_messages/capi-media-audio-io.xml
new file mode 100644 (file)
index 0000000..f1afca2
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/audio-io">
+       <error name="AUDIO_IO_ERROR_DEVICE_NOT_OPENED">
+               <value>TIZEN_ERROR_AUDIO_IO | 0x01</value>
+               <msg>Device open error</msg>
+       </error>
+       <error name="AUDIO_IO_ERROR_DEVICE_NOT_CLOSED">
+               <value>TIZEN_ERROR_AUDIO_IO | 0x02</value>
+               <msg>Device close error</msg>
+       </error>
+       <error name="AUDIO_IO_ERROR_INVALID_BUFFER">
+               <value>TIZEN_ERROR_AUDIO_IO | 0x03</value>
+               <msg>Invalid buffer pointer</msg>
+       </error>
+       <error name="AUDIO_IO_ERROR_SOUND_POLICY">
+               <value>TIZEN_ERROR_AUDIO_IO | 0x04</value>
+               <msg>Sound policy error</msg>
+       </error>
+       <error name="AUDIO_IO_ERROR_INVALID_STATE">
+               <value>TIZEN_ERROR_AUDIO_IO | 0x05</value>
+               <msg>Invalid statea</msg>
+       </error>
+       <error name="AUDIO_IO_ERROR_NOT_SUPPORTED_TYPE">
+               <value>TIZEN_ERROR_AUDIO_IO | 0x06</value>
+               <msg>Not supported stream type</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-media-camera.xml b/error_messages/capi-media-camera.xml
new file mode 100644 (file)
index 0000000..fdb0768
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/camera">
+       <error name="CAMERA_ERROR_INVALID_STATE">
+               <value>TIZEN_ERROR_CAMERA | 0x02</value>
+               <msg>Invalid state</msg>
+       </error>
+       <error name="CAMERA_ERROR_DEVICE">
+               <value>TIZEN_ERROR_CAMERA | 0x04</value>
+               <msg>Device error</msg>
+       </error>
+       <error name="CAMERA_ERROR_SOUND_POLICY">
+               <value>TIZEN_ERROR_CAMERA | 0x06</value>
+               <msg>Blocked by Audio Session Manager</msg>
+       </error>
+       <error name="CAMERA_ERROR_SECURITY_RESTRICTED">
+               <value>TIZEN_ERROR_CAMERA | 0x07</value>
+               <msg>Restricted by security system policy</msg>
+       </error>
+       <error name="CAMERA_ERROR_DEVICE_BUSY">
+               <value>TIZEN_ERROR_CAMERA | 0x08</value>
+               <msg>The device is using another application or working on some operation</msg>
+       </error>
+       <error name="CAMERA_ERROR_DEVICE_NOT_FOUND">
+               <value>TIZEN_ERROR_CAMERA | 0x09</value>
+               <msg>No camera device </msg>
+       </error>
+       <error name="CAMERA_ERROR_SOUND_POLICY_BY_CALL">
+               <value>TIZEN_ERROR_CAMERA | 0x0a</value>
+               <msg>Blocked by Audio Session Manager - CALL</msg>
+       </error>
+       <error name="CAMERA_ERROR_SOUND_POLICY_BY_ALARM">
+               <value>TIZEN_ERROR_CAMERA | 0x0b</value>
+               <msg>Blocked by Audio Session Manager - ALARM</msg>
+       </error>
+       <error name="CAMERA_ERROR_ESD">
+               <value>TIZEN_ERROR_CAMERA | 0x0c</value>
+               <msg>ESD situation</msg>
+       </error>
+       <error name="CAMERA_ERROR_RESOURCE_CONFLICT">
+               <value>TIZEN_ERROR_CAMERA | 0x0d</value>
+               <msg>Blocked by resource conflict</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-media-codec.xml b/error_messages/capi-media-codec.xml
new file mode 100644 (file)
index 0000000..31833f6
--- /dev/null
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/mediacodec">
+       <error name="MEDIACODEC_ERROR_INVALID_STATE">
+               <value>TIZEN_ERROR_MEDIACODEC | 0x01</value>
+               <msg>Invalid state</msg>
+       </error>
+       <error name="MEDIACODEC_ERROR_INVALID_INBUFFER">
+               <value>TIZEN_ERROR_MEDIACODEC | 0x02</value>
+               <msg>Invalid input buffer</msg>
+       </error>
+       <error name="MEDIACODEC_ERROR_INVALID_OUTBUFFER">
+               <value>TIZEN_ERROR_MEDIACODEC | 0x03</value>
+               <msg>Invalid output buffer</msg>
+       </error>
+       <error name="MEDIACODEC_ERROR_INTERNAL">
+               <value>TIZEN_ERROR_MEDIACODEC | 0x04</value>
+               <msg>Invalid output buffer</msg>
+       </error>
+       <error name="MEDIACODEC_ERROR_NOT_INITIALIZED">
+               <value>TIZEN_ERROR_MEDIACODEC | 0x05</value>
+               <msg>Internal error</msg>
+       </error>
+       <error name="MEDIACODEC_ERROR_INVALID_STREAM">
+               <value>TIZEN_ERROR_MEDIACODEC | 0x06</value>
+               <msg>Not initialized mediacodec</msg>
+       </error>
+       <error name="MEDIACODEC_ERROR_CODEC_NOT_FOUND">
+               <value>TIZEN_ERROR_MEDIACODEC | 0x07</value>
+               <msg>Cannot find codec</msg>
+       </error>
+       <error name="MEDIACODEC_ERROR_DECODE">
+               <value>TIZEN_ERROR_MEDIACODEC | 0x08</value>
+               <msg>Error while decoding data</msg>
+       </error>
+       <error name="MEDIACODEC_ERROR_NO_FREE_SPACE">
+               <value>TIZEN_ERROR_MEDIACODEC | 0x09</value>
+               <msg>Out of storage</msg>
+       </error>
+       <error name="MEDIACODEC_ERROR_STREAM_NOT_FOUND">
+               <value>TIZEN_ERROR_MEDIACODEC | 0x0a</value>
+               <msg>Cannot find stream</msg>
+       </error>
+       <error name="MEDIACODEC_ERROR_NOT_SUPPORTED_FORMAT">
+               <value>TIZEN_ERROR_MEDIACODEC | 0x0b</value>
+               <msg>Not supported format </msg>
+       </error>
+       <error name="MEDIACODEC_ERROR_BUFFER_NOT_AVAILABLE">
+               <value>TIZEN_ERROR_MEDIACODEC | 0x0c</value>
+               <msg>Not available buffer</msg>
+       </error>
+       <error name="MEDIACODEC_ERROR_OVERFLOW_INBUFFER">
+               <value>TIZEN_ERROR_MEDIACODEC | 0x0d</value>
+               <msg>Overflow input buffer</msg>
+       </error>
+       <error name="MEDIACODEC_ERROR_RESOURCE_OVERLOADED">
+               <value>TIZEN_ERROR_MEDIACODEC | 0x0e</value>
+               <msg>Exceed the instance limit</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-media-image-util.xml b/error_messages/capi-media-image-util.xml
new file mode 100644 (file)
index 0000000..58a045e
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/image-util">
+       <error name="IMAGE_UTIL_ERROR_NOT_SUPPORTED_FORMAT">
+               <value>TIZEN_ERROR_IMAGE_UTIL | 0x01</value>
+               <msg>Not supported format</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-media-metadata-editor.xml b/error_messages/capi-media-metadata-editor.xml
new file mode 100644 (file)
index 0000000..6219ed4
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/metadata-editor">
+       <error name="METADATA_EDITOR_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_METADATA_EDITOR | 0x01</value>
+               <msg>Invalid internal operation</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-media-metadata-extractor.xml b/error_messages/capi-media-metadata-extractor.xml
new file mode 100644 (file)
index 0000000..533afc5
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/metadata-extractor">
+       <error name="METADATA_EXTRACTOR_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_METADATA_EXTRACTOR | 0x01</value>
+               <msg>Invalid internal operation</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-media-player.xml b/error_messages/capi-media-player.xml
new file mode 100644 (file)
index 0000000..1b18f91
--- /dev/null
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/player">
+       <error name="PLAYER_ERROR_SEEK_FAILED">
+               <value>TIZEN_ERROR_PLAYER | 0x21</value>
+               <msg>Seek operation failure</msg>
+       </error>
+       <error name="PLAYER_ERROR_INVALID_STATE">
+               <value>TIZEN_ERROR_PLAYER | 0x22</value>
+               <msg>Invalid state</msg>
+       </error>
+       <error name="PLAYER_ERROR_NOT_SUPPORTED_FILE">
+               <value>TIZEN_ERROR_PLAYER | 0x23</value>
+               <msg>File format not supported</msg>
+       </error>
+       <error name="PLAYER_ERROR_INVALID_URI">
+               <value>TIZEN_ERROR_PLAYER | 0x24</value>
+               <msg>Invalid URI</msg>
+       </error>
+       <error name="PLAYER_ERROR_SOUND_POLICY">
+               <value>TIZEN_ERROR_PLAYER | 0x25</value>
+               <msg>Sound policy error </msg>
+       </error>
+       <error name="PLAYER_ERROR_CONNECTION_FAILED">
+               <value>TIZEN_ERROR_PLAYER | 0x26</value>
+               <msg>Streaming connection failed</msg>
+       </error>
+       <error name="PLAYER_ERROR_VIDEO_CAPTURE_FAILED">
+               <value>TIZEN_ERROR_PLAYER | 0x27</value>
+               <msg>Video capture failed</msg>
+       </error>
+       <error name="PLAYER_ERROR_DRM_EXPIRED">
+               <value>TIZEN_ERROR_PLAYER | 0x28</value>
+               <msg>Expired license</msg>
+       </error>
+       <error name="PLAYER_ERROR_DRM_NO_LICENSE">
+               <value>TIZEN_ERROR_PLAYER | 0x29</value>
+               <msg>No license </msg>
+       </error>
+       <error name="PLAYER_ERROR_DRM_FUTURE_USE">
+               <value>TIZEN_ERROR_PLAYER | 0x2a</value>
+               <msg>License for future use</msg>
+       </error>
+       <error name="PLAYER_ERROR_DRM_NOT_PERMITTED">
+               <value>TIZEN_ERROR_PLAYER | 0x2b</value>
+               <msg>Format not permitted</msg>
+       </error>
+       <error name="PLAYER_ERROR_RESOURCE_LIMIT">
+               <value>TIZEN_ERROR_PLAYER | 0x2c</value>
+               <msg>Resource limit</msg>
+       </error>
+       <error name="PLAYER_ERROR_SERVICE_DISCONNECTED">
+               <value>TIZEN_ERROR_PLAYER | 0x2d</value>
+               <msg>Socket connection lost</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-media-radio.xml b/error_messages/capi-media-radio.xml
new file mode 100644 (file)
index 0000000..5dc2dbb
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/radio">
+       <error name="RADIO_ERROR_INVALID_STATE">
+               <value>TIZEN_ERROR_RADIO | 0x01</value>
+               <msg>Invalid state</msg>
+       </error>
+       <error name="RADIO_ERROR_SOUND_POLICY">
+               <value>TIZEN_ERROR_RADIO | 0x02</value>
+               <msg>Sound policy error</msg>
+       </error>
+       <error name="RADIO_ERROR_NO_ANTENNA">
+               <value>TIZEN_ERROR_RADIO | 0x03</value>
+               <msg>No Antenna error</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-media-recorder.xml b/error_messages/capi-media-recorder.xml
new file mode 100644 (file)
index 0000000..0057871
--- /dev/null
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/recorder">
+       <error name="RECORDER_ERROR_INVALID_STATE">
+               <value>TIZEN_ERROR_RECORDER | 0x12</value>
+               <msg>Invalid state</msg>
+       </error>
+       <error name="RECORDER_ERROR_DEVICE">
+               <value>TIZEN_ERROR_RECORDER | 0x14</value>
+               <msg>Device error</msg>
+       </error>
+       <error name="RECORDER_ERROR_SOUND_POLICY">
+               <value>TIZEN_ERROR_RECORDER | 0x16</value>
+               <msg>Blocked by Audio Session Manager</msg>
+       </error>
+       <error name="RECORDER_ERROR_SECURITY_RESTRICTED">
+               <value>TIZEN_ERROR_RECORDER | 0x17</value>
+               <msg>Restricted by security system policy</msg>
+       </error>
+       <error name="RECORDER_ERROR_SOUND_POLICY_BY_CALL">
+               <value>TIZEN_ERROR_RECORDER | 0x18</value>
+               <msg>Blocked by Audio Session Manager - CALL</msg>
+       </error>
+       <error name="RECORDER_ERROR_SOUND_POLICY_BY_ALARM">
+               <value>TIZEN_ERROR_RECORDER | 0x19</value>
+               <msg>Blocked by Audio Session Manager - ALARM</msg>
+       </error>
+       <error name="RECORDER_ERROR_ESD">
+               <value>TIZEN_ERROR_RECORDER | 0x1a</value>
+               <msg>ESD situation</msg>
+       </error>
+       <error name="RECORDER_ERROR_OUT_OF_STORAGE">
+               <value>TIZEN_ERROR_RECORDER | 0x1b</value>
+               <msg>Out of storage</msg>
+       </error>
+       <error name="RECORDER_ERROR_RESOURCE_CONFLICT">
+               <value>TIZEN_ERROR_RECORDER | 0x1c</value>
+               <msg>Blocked by resource conflict</msg>
+       </error>
+</package>
\ No newline at end of file
diff --git a/error_messages/capi-media-sound-manager.xml b/error_messages/capi-media-sound-manager.xml
new file mode 100644 (file)
index 0000000..5de23e8
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/sound-manager">
+       <error name="SOUND_MANAGER_ERROR_INTERNAL">
+               <value>TIZEN_ERROR_SOUND_MANAGER | 0x01</value>
+               <msg>Internal error inside the sound system</msg>
+       </error>
+       <error name="SOUND_MANAGER_ERROR_POLICY">
+               <value>TIZEN_ERROR_SOUND_MANAGER | 0x02</value>
+               <msg>Noncompliance with the sound system policy</msg>
+       </error>
+       <error name="SOUND_MANAGER_ERROR_NO_PLAYING_SOUND">
+               <value>TIZEN_ERROR_SOUND_MANAGER | 0x03</value>
+               <msg>No playing sound</msg>
+       </error>
+       <error name="SOUND_MANAGER_ERROR_INVALID_STATE">
+               <value>TIZEN_ERROR_SOUND_MANAGER | 0x04</value>
+               <msg>Invalid state</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-media-streamer.xml b/error_messages/capi-media-streamer.xml
new file mode 100644 (file)
index 0000000..9eb8dac
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/mediastreamer">
+       <error name="MEDIA_STREAMER_ERROR_INVALID_STATE">
+               <value>TIZEN_ERROR_MEDIA_STREAMER | 0x01</value>
+               <msg>Invalid state</msg>
+       </error>
+       <error name="MEDIA_STREAMER_ERROR_CONNECTION_FAILED">
+               <value>TIZEN_ERROR_MEDIA_STREAMER | 0x02</value>
+               <msg>Connection failed</msg>
+       </error>
+       <error name="MEDIA_STREAMER_ERROR_RESOURCE_CONFLICT">
+               <value>TIZEN_ERROR_MEDIA_STREAMER | 0x03</value>
+               <msg>Resource conflict</msg>
+       </error>
+       <error name="MEDIA_STREAMER_ERROR_SEEK_FAILED">
+               <value>TIZEN_ERROR_MEDIA_STREAMER | 0x04</value>
+               <msg>Seek operation failure</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-media-tone-player.xml b/error_messages/capi-media-tone-player.xml
new file mode 100644 (file)
index 0000000..73ef6fa
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/tone-player">
+       <error name="TONE_PLAYER_ERROR_NOT_SUPPORTED_TYPE">
+               <value>TIZEN_ERROR_TONE_PLAYER | 0x01</value>
+               <msg>Not supported</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-media-video-util.xml b/error_messages/capi-media-video-util.xml
new file mode 100644 (file)
index 0000000..4f994f5
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/video-util">
+       <error name="VIDEO_UTIL_ERROR_NOT_SUPPORTED_FORMAT">
+               <value>TIZEN_ERROR_VIDEO_UTIL | 0x01</value>
+               <msg>Not supported format</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-media-vision.xml b/error_messages/capi-media-vision.xml
new file mode 100644 (file)
index 0000000..3ef7e8a
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/mediavision">
+       <error name="MEDIA_VISION_ERROR_NOT_SUPPORTED_FORMAT">
+               <value>TIZEN_ERROR_MEDIA_VISION | 0x01</value>
+               <msg>Not supported format</msg>
+       </error>
+       <error name="MEDIA_VISION_ERROR_INTERNAL">
+               <value>TIZEN_ERROR_MEDIA_VISION | 0x02</value>
+               <msg>Internal error</msg>
+       </error>
+       <error name="MEDIA_VISION_ERROR_INVALID_DATA">
+               <value>TIZEN_ERROR_MEDIA_VISION | 0x03</value>
+               <msg>Invalid data</msg>
+       </error>
+       <error name="MEDIA_VISION_ERROR_INVALID_PATH">
+               <value>TIZEN_ERROR_MEDIA_VISION | 0x04</value>
+               <msg>Invalid path</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-media-wav-player.xml b/error_messages/capi-media-wav-player.xml
new file mode 100644 (file)
index 0000000..911c0b5
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/wav-player">
+       <error name="WAV_PLAYER_ERROR_FORMAT_NOT_SUPPORTED">
+               <value>TIZEN_ERROR_WAV_PLAYER | 0x01</value>
+               <msg>Format not supported</msg>
+       </error>
+       <error name="WAV_PLAYER_ERROR_NOT_SUPPORTED_TYPE">
+               <value>TIZEN_ERROR_WAV_PLAYER | 0x02</value>
+               <msg>Not supported</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-mediademuxer.xml b/error_messages/capi-mediademuxer.xml
new file mode 100644 (file)
index 0000000..2a7d0a7
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/mediademuxer">
+       <error name="MEDIADEMUXER_ERROR_INVALID_STATE">
+               <value>TIZEN_ERROR_MEDIA_DEMUXER | 0x01</value>
+               <msg>Invalid state</msg>
+       </error>
+       <error name="MEDIADEMUXER_ERROR_INVALID_PATH">
+               <value>TIZEN_ERROR_MEDIA_DEMUXER | 0x02</value>
+               <msg>Invalid path</msg>
+       </error>
+       <error name="MEDIADEMUXER_ERROR_RESOURCE_LIMIT">
+               <value>TIZEN_ERROR_MEDIA_DEMUXER | 0x03</value>
+               <msg>Resource limit</msg>
+       </error>
+       <error name="MEDIADEMUXER_ERROR_SEEK_FAILED">
+               <value>TIZEN_ERROR_MEDIA_DEMUXER | 0x04</value>
+               <msg>Seek operation failure</msg>
+       </error>
+       <error name="MEDIADEMUXER_ERROR_DRM_NOT_PERMITTED">
+               <value>TIZEN_ERROR_MEDIA_DEMUXER | 0x05</value>
+               <msg>Not permitted format</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-mediamuxer.xml b/error_messages/capi-mediamuxer.xml
new file mode 100644 (file)
index 0000000..b683c53
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/mediamuxer">
+       <error name="MEDIAMUXER_ERROR_INVALID_STATE">
+               <value>TIZEN_ERROR_MEDIA_MUXER | 0x01</value>
+               <msg>Invalid state</msg>
+       </error>
+       <error name="MEDIAMUXER_ERROR_INVALID_PATH">
+               <value>TIZEN_ERROR_MEDIA_MUXER | 0x02</value>
+               <msg>Invalid path</msg>
+       </error>
+       <error name="MEDIAMUXER_ERROR_RESOURCE_LIMIT">
+               <value>TIZEN_ERROR_MEDIA_MUXER | 0x03</value>
+               <msg>Resource limit</msg>
+       </error>
+</package>
\ No newline at end of file
diff --git a/error_messages/capi-message-port.xml b/error_messages/capi-message-port.xml
new file mode 100644 (file)
index 0000000..4a1182b
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/appfw/message-port">
+       <error name="MESSAGE_PORT_ERROR_PORT_NOT_FOUND">
+               <value>TIZEN_ERROR_MESSAGE_PORT | 0x01</value>
+               <msg>The message port of the remote application is not found</msg>
+       </error>
+       <error name="MESSAGE_PORT_ERROR_CERTIFICATE_NOT_MATCH">
+               <value>TIZEN_ERROR_MESSAGE_PORT | 0x02</value>
+               <msg>The remote application is not signed with the same certificate</msg>
+       </error>
+       <error name="MESSAGE_PORT_ERROR_MAX_EXCEEDED">
+               <value>TIZEN_ERROR_MESSAGE_PORT | 0x03</value>
+               <msg>The size of the message has exceeded the maximum limit</msg>
+       </error>
+       <error name="MESSAGE_PORT_ERROR_RESOURCE_UNAVAILABLE">
+               <value>TIZEN_ERROR_MESSAGE_PORT | 0x04</value>
+               <msg>Resource is temporarily unavailable</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-messaging-email.xml b/error_messages/capi-messaging-email.xml
new file mode 100644 (file)
index 0000000..333bcfa
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/email">
+       <error name="EMAILS_ERROR_SERVER_NOT_READY">
+               <value>TIZEN_ERROR_EMAIL_SERVICE | 0x200</value>
+               <msg>Server not ready</msg>
+       </error>
+       <error name="EMAILS_ERROR_COMMUNICATION_WITH_SERVER_FAILED">
+               <value>TIZEN_ERROR_EMAIL_SERVICE | 0x201</value>
+               <msg>Communication with server failed</msg>
+       </error>
+       <error name="EMAILS_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_EMAIL_SERVICE | 0x202</value>
+               <msg>Operation failed</msg>
+       </error>
+       <error name="EMAILS_ERROR_ACCOUNT_NOT_FOUND">
+               <value>TIZEN_ERROR_EMAIL_SERVICE | 0x203</value>
+               <msg>Email account not found</msg>
+       </error>
+       <error name="EMAILS_ERROR_DB_FAILED">
+               <value>TIZEN_ERROR_EMAIL_SERVICE | 0x204</value>
+               <msg>Email database failed</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-messaging-messages.xml b/error_messages/capi-messaging-messages.xml
new file mode 100644 (file)
index 0000000..cc15bc0
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/messages">
+       <error name="MESSAGES_ERROR_SERVER_NOT_READY">
+               <value>TIZEN_ERROR_MESSAGING_SERVICE | 0x501</value>
+               <msg>Server is not read</msg>
+       </error>
+       <error name="MESSAGES_ERROR_COMMUNICATION_WITH_SERVER_FAILED">
+               <value>TIZEN_ERROR_MESSAGING_SERVICE | 0x502</value>
+               <msg>Communication with server failed</msg>
+       </error>
+       <error name="MESSAGES_ERROR_OUT_OF_RANGE">
+               <value>TIZEN_ERROR_MESSAGING_SERVICE | 0x503</value>
+               <msg>Index out of range</msg>
+       </error>
+       <error name="MESSAGES_ERROR_SENDING_FAILED">
+               <value>TIZEN_ERROR_MESSAGING_SERVICE | 0x504</value>
+               <msg>Sending a message failed</msg>
+       </error>
+       <error name="MESSAGES_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_MESSAGING_SERVICE | 0x505</value>
+               <msg>Messaging operation failed</msg>
+       </error>
+       <error name="MESSAGES_ERROR_NO_SIM_CARD">
+               <value>TIZEN_ERROR_MESSAGING_SERVICE | 0x506</value>
+               <msg>No SIM Card</msg>
+       </error>
+       <error name="MESSAGES_ERROR_NO_DATA">
+               <value>TIZEN_ERROR_MESSAGING_SERVICE | 0x507</value>
+               <msg>No data available</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-network-bluetooth.xml b/error_messages/capi-network-bluetooth.xml
new file mode 100644 (file)
index 0000000..0923cd0
--- /dev/null
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/bluetooth">
+       <error name="BT_ERROR_NOT_INITIALIZED">
+               <value>TIZEN_ERROR_BLUETOOTH | 0x0101</value>
+               <msg>Local adapter not initialized</msg>
+       </error>
+       <error name="BT_ERROR_NOT_ENABLED">
+               <value>TIZEN_ERROR_BLUETOOTH | 0x0102</value>
+               <msg>Local adapter not enabled</msg>
+       </error>
+       <error name="BT_ERROR_ALREADY_DONE">
+               <value>TIZEN_ERROR_BLUETOOTH | 0x0103</value>
+               <msg>Operation already done</msg>
+       </error>
+       <error name="BT_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_BLUETOOTH | 0x0104</value>
+               <msg>Operation failed</msg>
+       </error>
+       <error name="BT_ERROR_NOT_IN_PROGRESS">
+               <value>TIZEN_ERROR_BLUETOOTH | 0x0105</value>
+               <msg>Operation not in progress</msg>
+       </error>
+       <error name="BT_ERROR_REMOTE_DEVICE_NOT_BONDED">
+               <value>TIZEN_ERROR_BLUETOOTH | 0x0106</value>
+               <msg>Remote device not bonde</msg>
+       </error>
+       <error name="BT_ERROR_AUTH_REJECTED">
+               <value>TIZEN_ERROR_BLUETOOTH | 0x0107</value>
+               <msg>Authentication rejected</msg>
+       </error>
+       <error name="BT_ERROR_AUTH_FAILED">
+               <value>TIZEN_ERROR_BLUETOOTH | 0x0108</value>
+               <msg>Authentication failed</msg>
+       </error>
+       <error name="BT_ERROR_REMOTE_DEVICE_NOT_FOUND">
+               <value>TIZEN_ERROR_BLUETOOTH | 0x0109</value>
+               <msg>Remote device not found </msg>
+       </error>
+       <error name="BT_ERROR_SERVICE_SEARCH_FAILED">
+               <value>TIZEN_ERROR_BLUETOOTH | 0x010A</value>
+               <msg>Service search failed</msg>
+       </error>
+       <error name="BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED">
+               <value>TIZEN_ERROR_BLUETOOTH | 0x010B</value>
+               <msg>Remote device is not connected</msg>
+       </error>
+       <error name="BT_ERROR_AGAIN">
+               <value>TIZEN_ERROR_BLUETOOTH | 0x010C</value>
+               <msg>Resource temporarily unavailable </msg>
+       </error>
+       <error name="BT_ERROR_SERVICE_NOT_FOUND">
+               <value>TIZEN_ERROR_BLUETOOTH | 0x010D</value>
+               <msg>Service not found</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-network-connection.xml b/error_messages/capi-network-connection.xml
new file mode 100644 (file)
index 0000000..80ed53a
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/connection">
+       <error name="CONNECTION_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_CONNECTION | 0x0401</value>
+               <msg>Operation failed</msg>
+       </error>
+       <error name="CONNECTION_ERROR_ITERATOR_END">
+               <value>TIZEN_ERROR_CONNECTION | 0x0402</value>
+               <msg>End of iteration</msg>
+       </error>
+       <error name="CONNECTION_ERROR_NO_CONNECTION">
+               <value>TIZEN_ERROR_CONNECTION | 0x0403</value>
+               <msg>There is no connection</msg>
+       </error>
+       <error name="CONNECTION_ERROR_ALREADY_EXISTS">
+               <value>TIZEN_ERROR_CONNECTION | 0x0404</value>
+               <msg>Already exists</msg>
+       </error>
+       <error name="CONNECTION_ERROR_OPERATION_ABORTED">
+               <value>TIZEN_ERROR_CONNECTION | 0x0405</value>
+               <msg>Operation is aborted</msg>
+       </error>
+       <error name="CONNECTION_ERROR_DHCP_FAILED">
+               <value>TIZEN_ERROR_CONNECTION | 0x0406</value>
+               <msg>DHCP failed</msg>
+       </error>
+       <error name="CONNECTION_ERROR_INVALID_KEY">
+               <value>TIZEN_ERROR_CONNECTION | 0x0407</value>
+               <msg>Invalid key</msg>
+       </error>
+       <error name="CONNECTION_ERROR_NO_REPLY">
+               <value>TIZEN_ERROR_CONNECTION | 0x0408</value>
+               <msg>No reply</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-network-nfc.xml b/error_messages/capi-network-nfc.xml
new file mode 100644 (file)
index 0000000..2939227
--- /dev/null
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/nfc">
+       <error name="NFC_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_NFC | 0x01</value>
+               <msg>Operation failed</msg>
+       </error>
+       <error name="NFC_ERROR_INVALID_NDEF_MESSAGE">
+               <value>TIZEN_ERROR_NFC | 0x02</value>
+               <msg>Invalid NDEF message</msg>
+       </error>
+       <error name="NFC_ERROR_INVALID_RECORD_TYPE">
+               <value>TIZEN_ERROR_NFC | 0x03</value>
+               <msg>Invalid record type</msg>
+       </error>
+       <error name="NFC_ERROR_NO_DEVICE">
+               <value>TIZEN_ERROR_NFC | 0x04</value>
+               <msg>No device</msg>
+       </error>
+       <error name="NFC_ERROR_NOT_ACTIVATED">
+               <value>TIZEN_ERROR_NFC | 0x05</value>
+               <msg>NFC is not activated</msg>
+       </error>
+       <error name="NFC_ERROR_ALREADY_ACTIVATED">
+               <value>TIZEN_ERROR_NFC | 0x06</value>
+               <msg>Already activated</msg>
+       </error>
+       <error name="NFC_ERROR_ALREADY_DEACTIVATED">
+               <value>TIZEN_ERROR_NFC | 0x07</value>
+               <msg>Already deactivated</msg>
+       </error>
+       <error name="NFC_ERROR_READ_ONLY_NDEF">
+               <value>TIZEN_ERROR_NFC | 0x08</value>
+               <msg>Read only tag</msg>
+       </error>
+       <error name="NFC_ERROR_NO_SPACE_ON_NDEF">
+               <value>TIZEN_ERROR_NFC | 0x09</value>
+               <msg>No enough space on tag</msg>
+       </error>
+       <error name="NFC_ERROR_NO_NDEF_MESSAGE">
+               <value>TIZEN_ERROR_NFC | 0x0a</value>
+               <msg>No NDEF Message on Tag</msg>
+       </error>
+       <error name="NFC_ERROR_NOT_NDEF_FORMAT">
+               <value>TIZEN_ERROR_NFC | 0x0b</value>
+               <msg>Not NDEF format Tag </msg>
+       </error>
+       <error name="NFC_ERROR_SECURITY_RESTRICTED">
+               <value>TIZEN_ERROR_NFC | 0x0c</value>
+               <msg>Restricted by access control</msg>
+       </error>
+       <error name="NFC_ERROR_ILLEGAL_STATE">
+               <value>TIZEN_ERROR_NFC | 0x0d</value>
+               <msg>The state is wrong</msg>
+       </error>
+       <error name="NFC_ERROR_NOT_INITIALIZED">
+               <value>TIZEN_ERROR_NFC | 0x0e</value>
+               <msg>NFC is not initialized</msg>
+       </error>
+       <error name="NFC_ERROR_TAG_NOT_SUPPORTED">
+               <value>TIZEN_ERROR_NFC | 0x0f</value>
+               <msg>Tag is not supported</msg>
+       </error>
+       <error name="NFC_ERROR_AID_ALREADY_REGISTERED">
+               <value>TIZEN_ERROR_NFC | 0x10</value>
+               <msg>AID already registered</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-network-smartcard.xml b/error_messages/capi-network-smartcard.xml
new file mode 100644 (file)
index 0000000..6499f1b
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/smartcard">
+       <error name="SMARTCARD_ERROR_GENERAL">
+               <value>TIZEN_ERROR_SMARTCARD | 0x01</value>
+               <msg>A general error occurred</msg>
+       </error>
+       <error name="SMARTCARD_ERROR_NO_SUCH_ELEMENT">
+               <value>TIZEN_ERROR_SMARTCARD | 0x02</value>
+               <msg>No such element error</msg>
+       </error>
+       <error name="SMARTCARD_ERROR_ILLEGAL_STATE">
+               <value>TIZEN_ERROR_SMARTCARD | 0x03</value>
+               <msg>Illegal state of execution error</msg>
+       </error>
+       <error name="SMARTCARD_ERROR_ILLEGAL_REFERENCE">
+               <value>TIZEN_ERROR_SMARTCARD | 0x04</value>
+               <msg>Illegal reference</msg>
+       </error>
+       <error name="SMARTCARD_ERROR_OPERATION_NOT_SUPPORTED">
+               <value>TIZEN_ERROR_SMARTCARD | 0x05</value>
+               <msg>Operation not supported from SE</msg>
+       </error>
+       <error name="SMARTCARD_ERROR_CHANNEL_NOT_AVAILABLE">
+               <value>TIZEN_ERROR_SMARTCARD | 0x06</value>
+               <msg>No channel available</msg>
+       </error>
+       <error name="SMARTCARD_ERROR_NOT_INITIALIZED">
+               <value>TIZEN_ERROR_SMARTCARD | 0x07</value>
+               <msg>Smartcard service not initialized</msg>
+       </error>
+</package>
\ No newline at end of file
diff --git a/error_messages/capi-network-tethering.xml b/error_messages/capi-network-tethering.xml
new file mode 100644 (file)
index 0000000..49a880a
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/tethering">
+       <error name="TETHERING_ERROR_NOT_ENABLED">
+               <value>TIZEN_ERROR_TETHERING | 0x0501</value>
+               <msg>Not enabled</msg>
+       </error>
+       <error name="TETHERING_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_TETHERING | 0x0502</value>
+               <msg>Operation failed</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-network-wifi-direct.xml b/error_messages/capi-network-wifi-direct.xml
new file mode 100644 (file)
index 0000000..d9fcd20
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/wifi-direct">
+       <error name="WIFI_DIRECT_ERROR_NOT_INITIALIZED">
+               <value>TIZEN_ERROR_WIFI_DIRECT | 0x01</value>
+               <msg>Not initialized</msg>
+       </error>
+       <error name="WIFI_DIRECT_ERROR_COMMUNICATION_FAILED">
+               <value>TIZEN_ERROR_WIFI_DIRECT | 0x02</value>
+               <msg>I/O error</msg>
+       </error>
+       <error name="WIFI_DIRECT_ERROR_WIFI_USED">
+               <value>TIZEN_ERROR_WIFI_DIRECT | 0x03</value>
+               <msg>WiFi is being used</msg>
+       </error>
+       <error name="WIFI_DIRECT_ERROR_MOBILE_AP_USED">
+               <value>TIZEN_ERROR_WIFI_DIRECT | 0x04</value>
+               <msg>Mobile AP is being used</msg>
+       </error>
+       <error name="WIFI_DIRECT_ERROR_CONNECTION_FAILED">
+               <value>TIZEN_ERROR_WIFI_DIRECT | 0x05</value>
+               <msg>Mobile AP is being used</msg>
+       </error>
+       <error name="WIFI_DIRECT_ERROR_AUTH_FAILED">
+               <value>TIZEN_ERROR_WIFI_DIRECT | 0x06</value>
+               <msg>Authentication failed</msg>
+       </error>
+       <error name="WIFI_DIRECT_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_WIFI_DIRECT | 0x07</value>
+               <msg>Operation failed</msg>
+       </error>
+       <error name="WIFI_DIRECT_ERROR_TOO_MANY_CLIENT">
+               <value>TIZEN_ERROR_WIFI_DIRECT | 0x08</value>
+               <msg>Many client</msg>
+       </error>
+       <error name="WIFI_DIRECT_ERROR_ALREADY_INITIALIZED">
+               <value>TIZEN_ERROR_WIFI_DIRECT | 0x09</value>
+               <msg>Already initialized client</msg>
+       </error>
+       <error name="WIFI_DIRECT_ERROR_CONNECTION_CANCELED">
+               <value>TIZEN_ERROR_WIFI_DIRECT | 0x10</value>
+               <msg>Connection canceled by local device</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-network-wifi.xml b/error_messages/capi-network-wifi.xml
new file mode 100644 (file)
index 0000000..ed18488
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/wifi">
+       <error name="WIFI_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_WIFI | 0x0301</value>
+               <msg>Operation failed</msg>
+       </error>
+       <error name="WIFI_ERROR_NO_CONNECTION">
+               <value>TIZEN_ERROR_WIFI | 0x0302</value>
+               <msg>There is no connected AP</msg>
+       </error>
+       <error name="WIFI_ERROR_ALREADY_EXISTS">
+               <value>TIZEN_ERROR_WIFI | 0x0303</value>
+               <msg>Already exists</msg>
+       </error>
+       <error name="WIFI_ERROR_OPERATION_ABORTED">
+               <value>TIZEN_ERROR_WIFI | 0x0304</value>
+               <msg>Operation is aborted </msg>
+       </error>
+       <error name="WIFI_ERROR_DHCP_FAILED">
+               <value>TIZEN_ERROR_WIFI | 0x0306</value>
+               <msg>DHCP failed</msg>
+       </error>
+       <error name="WIFI_ERROR_INVALID_KEY">
+               <value>TIZEN_ERROR_WIFI | 0x0307</value>
+               <msg>Invalid key</msg>
+       </error>
+       <error name="WIFI_ERROR_NO_REPLY">
+               <value>TIZEN_ERROR_WIFI | 0x0308</value>
+               <msg>No reply</msg>
+       </error>
+       <error name="WIFI_ERROR_SECURITY_RESTRICTED">
+               <value>TIZEN_ERROR_WIFI | 0x0309</value>
+               <msg>Restricted by security system policy</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-system-device.xml b/error_messages/capi-system-device.xml
new file mode 100644 (file)
index 0000000..b9cbaa6
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/device">
+       <error name="DEVICE_ERROR_NOT_INITIALIZED">
+               <value>TIZEN_ERROR_DEVICE | 0x13</value>
+               <msg>Not initialized</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-system-media-key.xml b/error_messages/capi-system-media-key.xml
new file mode 100644 (file)
index 0000000..955db9d
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/media-key">
+       <error name="MEDIA_KEY_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_MEDIA_KEY | 0x01</value>
+               <msg>Reserve/Release failed</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-system-sensor.xml b/error_messages/capi-system-sensor.xml
new file mode 100644 (file)
index 0000000..3fc9f2e
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/sensor">
+       <error name="SENSOR_ERROR_NOT_NEED_CALIBRATION">
+               <value>TIZEN_ERROR_SENSOR | 0x03</value>
+               <msg>Sensor doesn't need calibration</msg>
+       </error>
+       <error name="SENSOR_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_SENSOR | 0x06</value>
+               <msg>Operation failed</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-system-system-settings.xml b/error_messages/capi-system-system-settings.xml
new file mode 100644 (file)
index 0000000..9851ae2
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/system-settings">
+       <error name="SYSTEM_SETTINGS_ERROR_LOCKSCREEN_APP_PASSWORD_MODE">
+               <value>TIZEN_ERROR_SYSTEM_SETTING | 0x01</value>
+               <msg>Current lock screen app set 'password' type</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-telephony.xml b/error_messages/capi-telephony.xml
new file mode 100644 (file)
index 0000000..87ff6ec
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/telephony">
+       <error name="TELEPHONY_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_TELEPHONY | 0x0001</value>
+               <msg>Operation failed</msg>
+       </error>
+       <error name="TELEPHONY_ERROR_SIM_NOT_AVAILABLE">
+               <value>TIZEN_ERROR_TELEPHONY | 0x1001</value>
+               <msg>SIM is not available</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-ui-efl-util.xml b/error_messages/capi-ui-efl-util.xml
new file mode 100644 (file)
index 0000000..2b04198
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/efl-util">
+       <error name="EFL_UTIL_ERROR_NOT_SUPPORTED_WINDOW_TYPE">
+               <value>TTIZEN_ERROR_EFL_UTIL | 0x01</value>
+               <msg>Window type not supported</msg>
+       </error>
+       <error name="EFL_UTIL_ERROR_SCREENSHOT_INIT_FAIL">
+               <value>TTIZEN_ERROR_EFL_UTIL | 0x02</value>
+               <msg>Screenshot initialization fail</msg>
+       </error>
+       <error name="EFL_UTIL_ERROR_SCREENSHOT_EXECUTION_FAIL">
+               <value>TTIZEN_ERROR_EFL_UTIL | 0x03</value>
+               <msg>Screenshot execution fail</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi-ui-inputmethod-manager.xml b/error_messages/capi-ui-inputmethod-manager.xml
new file mode 100644 (file)
index 0000000..fc85bc5
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/inputmethod-manager">
+       <error name="IME_MANAGER_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_IME | 0x0010</value>
+               <msg>Operation failed</msg>
+       </error>
+</package>
\ No newline at end of file
diff --git a/error_messages/capi-ui-inputmethod.xml b/error_messages/capi-ui-inputmethod.xml
new file mode 100644 (file)
index 0000000..e6d2c24
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/inputmethod">
+       <error name="IME_ERROR_NO_CALLBACK_FUNCTION">
+               <value>TIZEN_ERROR_IME | 0x0001</value>
+               <msg>Necessary callback function is not set</msg>
+       </error>
+       <error name="IME_ERROR_NOT_RUNNING">
+               <value>TIZEN_ERROR_IME | 0x0002</value>
+               <msg>IME main loop isn't started yet </msg>
+       </error>
+       <error name="IME_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_IME | 0x0003</value>
+               <msg>Operation failed</msg>
+       </error>
+</package>
\ No newline at end of file
diff --git a/error_messages/capi-web-url-download.xml b/error_messages/capi-web-url-download.xml
new file mode 100644 (file)
index 0000000..6f97193
--- /dev/null
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/url-download">
+       <error name="DOWNLOAD_ERROR_INVALID_STATE">
+               <value>TIZEN_ERROR_DOWNLOAD | 0x21</value>
+               <msg>Invalid state</msg>
+       </error>
+       <error name="DOWNLOAD_ERROR_CONNECTION_FAILED">
+               <value>TIZEN_ERROR_DOWNLOAD | 0x22</value>
+               <msg>Connection failed</msg>
+       </error>
+       <error name="DOWNLOAD_ERROR_INVALID_URL">
+               <value>TIZEN_ERROR_DOWNLOAD | 0x24</value>
+               <msg>Invalid URL</msg>
+       </error>
+       <error name="DOWNLOAD_ERROR_INVALID_DESTINATION">
+               <value>TIZEN_ERROR_DOWNLOAD | 0x25</value>
+               <msg>Invalid destination</msg>
+       </error>
+       <error name="DOWNLOAD_ERROR_TOO_MANY_DOWNLOADS">
+               <value>TIZEN_ERROR_DOWNLOAD | 0x26</value>
+               <msg>Too many simultaneous downloads</msg>
+       </error>
+       <error name="DOWNLOAD_ERROR_QUEUE_FULL">
+               <value>TIZEN_ERROR_DOWNLOAD | 0x27</value>
+               <msg>Download server queue is full</msg>
+       </error>
+       <error name="DOWNLOAD_ERROR_ALREADY_COMPLETED">
+               <value>TIZEN_ERROR_DOWNLOAD | 0x28</value>
+               <msg>The download is already completed</msg>
+       </error>
+       <error name="DOWNLOAD_ERROR_FILE_ALREADY_EXISTS">
+               <value>TIZEN_ERROR_DOWNLOAD | 0x29</value>
+               <msg>Failed to rename the downloaded file</msg>
+       </error>
+       <error name="DOWNLOAD_ERROR_CANNOT_RESUME">
+               <value>TIZEN_ERROR_DOWNLOAD | 0x2a</value>
+               <msg>Cannot resume</msg>
+       </error>
+       <error name="DOWNLOAD_ERROR_FIELD_NOT_FOUND">
+               <value>TIZEN_ERROR_DOWNLOAD | 0x2b</value>
+               <msg>Specified field not found</msg>
+       </error>
+       <error name="DOWNLOAD_ERROR_TOO_MANY_REDIRECTS">
+               <value>TIZEN_ERROR_DOWNLOAD | 0x30</value>
+               <msg>Too many redirects from HTTP response header</msg>
+       </error>
+       <error name="DOWNLOAD_ERROR_UNHANDLED_HTTP_CODE">
+               <value>TIZEN_ERROR_DOWNLOAD | 0x31</value>
+               <msg>The download cannot handle the HTTP status value</msg>
+       </error>
+       <error name="DOWNLOAD_ERROR_REQUEST_TIMEOUT">
+               <value>TIZEN_ERROR_DOWNLOAD | 0x32</value>
+               <msg>No action after client creates a download ID</msg>
+       </error>
+       <error name="DOWNLOAD_ERROR_RESPONSE_TIMEOUT">
+               <value>TIZEN_ERROR_DOWNLOAD | 0x33</value>
+               <msg>No call to start API for some time although the download is created</msg>
+       </error>
+       <error name="DOWNLOAD_ERROR_SYSTEM_DOWN">
+               <value>TIZEN_ERROR_DOWNLOAD | 0x34</value>
+               <msg>No response from client after rebooting download daemon</msg>
+       </error>
+       <error name="DOWNLOAD_ERROR_ID_NOT_FOUND">
+               <value>TIZEN_ERROR_DOWNLOAD | 0x35</value>
+               <msg>Download ID does not exist in download service module</msg>
+       </error>
+       <error name="DOWNLOAD_ERROR_INVALID_NETWORK_TYPE">
+               <value>TIZEN_ERROR_DOWNLOAD | 0x36</value>
+               <msg>Network bonding is set but network type is not set as DOWNLOAD_NETWORK_ALL</msg>
+       </error>
+</package>
+
diff --git a/error_messages/capi_base_utils.xml b/error_messages/capi_base_utils.xml
new file mode 100644 (file)
index 0000000..0524ea7
--- /dev/null
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/base-utils">
+       <error name="I18N_ ERROR_MISSING_RESOURCE">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x01</value>
+               <msg>The requested resource cannot be found</msg>
+       </error>
+       <error name="I18N_ERROR_INVALID_FORMAT">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x02</value>
+               <msg>Data format is not what is expected </msg>
+       </error>
+       <error name="I18N_ERROR_FILE_ACCESS">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x03</value>
+               <msg>The requested file cannot be found</msg>
+       </error>
+       <error name="I18N_ERROR_INTERNAL_PROGRAM">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x04</value>
+               <msg>Indicates a bug in the library code</msg>
+       </error>
+       <error name="I18N_ERROR_INDEX_OUTOFBOUNDS">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x05</value>
+               <msg>Trying to access the index that is out of bounds</msg>
+       </error>
+       <error name="I18N_ERROR_INVALID_CHAR_FOUND">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x6</value>
+               <msg>Character conversion: Unmappable input sequence. In other APIs: Invalid character</msg>
+       </error>
+       <error name="I18N_ERROR_BUFFER_OVERFLOW">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x07</value>
+               <msg>A result would not fit in the supplied buffer</msg>
+       </error>
+       <error name="I18N_ERROR_COLLATOR_VERSION_MISMATCH">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x08</value>
+               <msg>Collator version is not compatible with the base version</msg>
+       </error>
+       <error name="I18N_ERROR_USELESS_COLLATOR">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x09</value>
+               <msg>Collator is options only and no base is specified</msg>
+       </error>
+       <error name="I18N_ERROR_NO_WRITE_PERMISSION">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x0A</value>
+               <msg>Attempt to modify read-only or constant data</msg>
+       </error>
+       <error name="I18N_ERROR_RESOURCE_TYPE_MISMATCH">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x0B</value>
+               <msg>An operation is requested over a resource that does not support it</msg>
+       </error>
+       <error name="I18N_ERROR_TOO_MANY_ALIASES">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x0C</value>
+               <msg>Too many aliases in the path to the requested resource</msg>
+       </error>
+
+       <error name="I18N_ERROR_MESSAGE_PARSE">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x0D</value>
+               <msg>Unable to parse a message (message format)</msg>
+       </error>
+       <error name="I18N_ERROR_PARSE">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x0E</value>
+               <msg>Equivalent to Java ParseException</msg>
+       </error>
+       <error name="I18N_ERROR_TRUNCATED_CHAR_FOUND">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x0F</value>
+               <msg>Character conversion: Incomplete input sequence</msg>
+       </error>
+       <error name="I18N_ERROR_ILLEGAL_CHAR_FOUND">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x10</value>
+               <msg>Character conversion: Illegal input sequence/combination of input units</msg>
+       </error>
+       <error name="I18N_ERROR_INVALID_TABLE_FORMAT">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x11</value>
+               <msg>Conversion table file found, but corrupted</msg>
+       </error>
+       <error name="I18N_ERROR_INVALID_TABLE_FILE">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x12</value>
+               <msg>Conversion table file not found</msg>
+       </error>
+       <error name="I18N_ERROR_ILLECAL_ESCAPE_SEQUENCE">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x13</value>
+               <msg>ISO-2022 illlegal escape sequence</msg>
+       </error>
+       <error name="I18N_ERROR_UNSUPPORTED_ESCAPE_SEQUENCE">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x14</value>
+               <msg>ISO-2022 unsupported escape sequence</msg>
+       </error>
+       <error name="I18N_ERROR_NO_SPACE_AVAILABLE">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x15</value>
+               <msg>No space available for in-buffer expansion for Arabic shaping</msg>
+       </error>
+       <error name="I18N_ERROR_CE_NOT_FOUND">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x16</value>
+               <msg>Currently used only while setting variable top, but can be used generally</msg>
+       </error>
+       <error name="I18N_ERROR_PRIMARY_TOO_LONG">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x17</value>
+               <msg>User tried to set variable top to a primary that is longer than two bytes</msg>
+       </error>
+       <error name="I18N_ERROR_STATE_TOO_OLD">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x18</value>
+               <msg>ICU cannot construct a service from this state, as it is no longer supported</msg>
+       </error>
+       <error name="I18N_ERROR_ENUM_OUT_OF_SYNC">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x19</value>
+               <msg>UEnumeration out of sync with underlying collection</msg>
+       </error>
+       <error name="I18N_ERROR_INVARIANT_CONVERSION">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x1A</value>
+               <msg>Unable to convert a UChar* string to char* with the invariant converter</msg>
+       </error>
+       <error name="I18N_ERROR_INVALID_STATE">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x1B</value>
+               <msg>Requested operation can not be completed with ICU in its current state</msg>
+       </error>
+       <error name="I18N_ERROR_MALFORMED_SET">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x1C</value>
+               <msg>A UnicodeSet pattern is invalid. @if MOBILE</msg>
+       </error>
+       <error name="I18N_WARNING_STRING_NOT_TERMINATED">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x1D</value>
+               <msg>String not terminated with NULL. @if MOBILE</msg>
+       </error>
+       <error name="I18N_ERROR_STD3_ASCII_RULES">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x1E</value>
+               <msg>Argument does not satisfy STD3 rules</msg>
+       </error>
+       <error name="I18N_ERROR_UNASSIGNED">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x1F</value>
+               <msg>Unassigned code points are found</msg>
+       </error>
+       <error name="I18N_WARNING_SORT_KEY_TOO_SHORT">
+               <value>TIZEN_ERROR_UTILITY_ICU | 0x20</value>
+               <msg>Number of levels requested in getBound is higher than the number of levels in the sort key</msg>
+       </error>
+</package>
+
diff --git a/error_messages/contacts-service.xml b/error_messages/contacts-service.xml
new file mode 100644 (file)
index 0000000..b2df6c2
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/pim/contacts-service">
+       <error name="CONTACTS_ERROR_DB_LOCKED">
+               <value>TIZEN_ERROR_CONTACTS | 0x81</value>
+               <msg>Database table locked or file locked</msg>
+       </error>
+       <error name="CONTACTS_ERROR_DB">
+               <value>TIZEN_ERROR_CONTACTS | 0x9F</value>
+               <msg>Unknown DB error</msg>
+       </error>
+       <error name="CONTACTS_ERROR_IPC_NOT_AVALIABLE">
+               <value>TIZEN_ERROR_CONTACTS | 0xB1</value>
+               <msg>IPC server is not available</msg>
+       </error>
+       <error name="CONTACTS_ERROR_IPC">
+               <value>TIZEN_ERROR_CONTACTS | 0xBF</value>
+               <msg>Unknown IPC error</msg>
+       </error>
+       <error name="CONTACTS_ERROR_SYSTEM">
+               <value>TIZEN_ERROR_CONTACTS | 0xEF</value>
+               <msg>Internal system module error</msg>
+       </error>
+       <error name="CONTACTS_ERROR_INTERNAL">
+               <value>TIZEN_ERROR_CONTACTS | 0xFF</value>
+               <msg>Implementation Error, Temporary Use</msg>
+       </error>
+</package>
+
diff --git a/error_messages/context.xml b/error_messages/context.xml
new file mode 100644 (file)
index 0000000..3a415f3
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/context">
+       <error name="CONTEXT_HISTORY_ERROR_OUT_OF_RANGE">
+               <value>TIZEN_ERROR_CONTEXT | 0x03</value>
+               <msg>Out of range</msg>
+       </error>
+       <error name="CONTEXT_HISTORY_ERROR_OPERATION_FAILED">  <!-- CONTEXT_TRIGGER_ERROR_OPERATION_FAILED has same value -->
+               <value>TIZEN_ERROR_CONTEXT | 0x04</value>
+               <msg>Operation failed</msg>
+       </error>
+       <error name="CONTEXT_TRIGGER_ERROR_RULE_ENABLED">
+               <value>TIZEN_ERROR_CONTEXT | 0x05</value>
+               <msg>Rule is enabled</msg>
+       </error>
+       <error name="CONTEXT_TRIGGER_ERROR_RULE_NOT_ENABLED">
+               <value>TIZEN_ERROR_CONTEXT | 0x06</value>
+               <msg>Rule is not enabled</msg>
+       </error>
+       <error name="CONTEXT_TRIGGER_ERROR_INVALID_RULE">
+               <value>TIZEN_ERROR_CONTEXT | 0x07</value>
+               <msg>Invalid rule</msg>
+       </error>
+       <error name="CONTEXT_TRIGGER_ERROR_RULE_NOT_EXIST">
+               <value>TIZEN_ERROR_CONTEXT | 0x08</value>
+               <msg>Rule does not exist</msg>
+       </error>
+</package>
+
diff --git a/error_messages/iotcon.xml b/error_messages/iotcon.xml
new file mode 100644 (file)
index 0000000..6742b07
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/iot/iotcon">
+       <error name="IOTCON_ERROR_IOTIVITY">
+               <value>TIZEN_ERROR_IOTCON | 0x01</value>
+               <msg>Internal error</msg>
+       </error>
+       <error name="IOTCON_ERROR_REPRESENTATION">
+               <value>TIZEN_ERROR_IOTCON | 0x02</value>
+               <msg>Representation errors</msg>
+       </error>
+       <error name="IOTCON_ERROR_INVALID_TYPE">
+               <value>TIZEN_ERROR_IOTCON | 0x03</value>
+               <msg>Invalid type</msg>
+       </error>
+       <error name="IOTCON_ERROR_ALREADY">
+               <value>TIZEN_ERROR_IOTCON | 0x04</value>
+               <msg>Already</msg>
+       </error>
+       <error name="IOTCON_ERROR_DBUS">
+               <value>TIZEN_ERROR_IOTCON | 0x05</value>
+               <msg>D-Bus errors</msg>
+       </error>
+       <error name="IOTCON_ERROR_SYSTEM">
+               <value>TIZEN_ERROR_IOTCON | 0x06</value>
+               <msg>System errors</msg>
+       </error>
+</package>
+
diff --git a/error_messages/key-manager.xml b/error_messages/key-manager.xml
new file mode 100644 (file)
index 0000000..2b75b64
--- /dev/null
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/security/key-manager">
+       <error name="CKMC_ERROR_SOCKET">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0x01</value>
+               <msg>Socket error between client and Central Key Manager</msg>
+       </error>
+       <error name="CKMC_ERROR_BAD_REQUEST">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0x02</value>
+               <msg>Invalid request from client </msg>
+       </error>
+       <error name="CKMC_ERROR_BAD_RESPONSE">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0x03</value>
+               <msg>Invalid response from Central Key Manager</msg>
+       </error>
+       <error name="CKMC_ERROR_SEND_FAILED">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0x04</value>
+               <msg>Transmitting request failed</msg>
+       </error>
+       <error name="CKMC_ERROR_RECV_FAILED">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0x05</value>
+               <msg>Receiving response failed</msg>
+       </error>
+       <error name="CKMC_ERROR_AUTHENTICATION_FAILED">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0x06</value>
+               <msg>Authentication between client and manager failed</msg>
+       </error>
+       <error name="CKMC_ERROR_BUFFER_TOO_SMALL">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0x07</value>
+               <msg>The output buffer size which is passed as parameter is too small</msg>
+       </error>
+       <error name="CKMC_ERROR_SERVER_ERROR">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0x08</value>
+               <msg>Central Key Manager has been failed for some reason</msg>
+       </error>
+       <error name="CKMC_ERROR_DB_LOCKED">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0x09</value>
+               <msg>The database was not unlocked - user did not login</msg>
+       </error>
+       <error name="CKMC_ERROR_DB_ERROR">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0x0A</value>
+               <msg>An internal error inside the database</msg>
+       </error>
+       <error name="CKMC_ERROR_DB_ALIAS_EXISTS">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0x0B</value>
+               <msg>Provided alias already exists in the database</msg>
+       </error>
+       <error name="CKMC_ERROR_DB_ALIAS_UNKNOWN">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0x0C</value>
+               <msg>No data for given alias</msg>
+       </error>
+       <error name="CKMC_ERROR_VERIFICATION_FAILED">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0x0D</value>
+               <msg>CA certificate(s) were unknown and chain could not be created</msg>
+       </error>
+       <error name="CKMC_ERROR_INVALID_FORMAT">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0x0E</value>
+               <msg>A provided file doesn't exists or cannot be accessed in the file system</msg>
+       </error>
+       <error name="CKMC_ERROR_FILE_ACCESS_DENIED">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0x0F</value>
+               <msg>A provided file or binary has not a valid format</msg>
+       </error>
+       <error name="CKMC_ERROR_NOT_EXPORTABLE">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0x10</value>
+               <msg>Key is not exportable. It could not be returned to client</msg>
+       </error>
+       <error name="CKMC_ERROR_FILE_SYSTEM">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0x11</value>
+               <msg>Save key\/certificate\/pkcs12 failed because of file system error</msg>
+       </error>
+       <error name="CKMC_ERROR_UNKNOWN">
+               <value>TIZEN_ERROR_KEY_MANAGER | 0xFF</value>
+               <msg>The error with unknown reason</msg>
+       </error>
+</package>
+
diff --git a/error_messages/libaccount-service.xml b/error_messages/libaccount-service.xml
new file mode 100644 (file)
index 0000000..e50453e
--- /dev/null
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/libaccount-service">
+       <error name="ACCOUNT_ERROR_DUPLICATED">
+               <value>TIZEN_ERROR_ACCOUNT | 0x01</value>
+               <msg>Same user name exists in your application</msg>
+       </error>
+       <error name="ACCOUNT_ERROR_RECORD_NOT_FOUND">
+               <value>TIZEN_ERROR_ACCOUNT | 0x03</value>
+               <msg>Related record does not exist</msg>
+       </error>
+       <error name="ACCOUNT_ERROR_DB_FAILED">
+               <value>TIZEN_ERROR_ACCOUNT | 0x04</value>
+               <msg>DB operation failed</msg>
+       </error>
+       <error name="ACCOUNT_ERROR_DB_NOT_OPENED">
+               <value>TIZEN_ERROR_ACCOUNT | 0x05</value>
+               <msg>DB is not connected</msg>
+       </error>
+       <error name="ACCOUNT_ERROR_QUERY_SYNTAX_ERROR">
+               <value>TIZEN_ERROR_ACCOUNT | 0x06</value>
+               <msg>DB query syntax error</msg>
+       </error>
+       <error name="ACCOUNT_ERROR_ITERATOR_END">
+               <value>TIZEN_ERROR_ACCOUNT | 0x07</value>
+               <msg>terator has reached the end</msg>
+       </error>
+       <error name="ACCOUNT_ERROR_NOTI_FAILED">
+               <value>TIZEN_ERROR_ACCOUNT | 0x08</value>
+               <msg>Notification failed</msg>
+       </error>
+       <error name="ACCOUNT_ERROR_XML_PARSE_FAILED">
+               <value>TIZEN_ERROR_ACCOUNT | 0x0a</value>
+               <msg>XML parse failed</msg>
+       </error>
+       <error name="ACCOUNT_ERROR_XML_FILE_NOT_FOUND">
+               <value>TIZEN_ERROR_ACCOUNT | 0x0b</value>
+               <msg>XML file does not exist</msg>
+       </error>
+       <error name="ACCOUNT_ERROR_EVENT_SUBSCRIPTION_FAIL">
+               <value>TIZEN_ERROR_ACCOUNT | 0x0c</value>
+               <msg>Subscription failed</msg>
+       </error>
+       <error name="ACCOUNT_ERROR_NOT_REGISTERED_PROVIDER">
+               <value>TIZEN_ERROR_ACCOUNT | 0x0d</value>
+               <msg>Account provider is not registered</msg>
+       </error>
+       <error name="ACCOUNT_ERROR_NOT_ALLOW_MULTIPLE">
+               <value>TIZEN_ERROR_ACCOUNT | 0x0e</value>
+               <msg>Multiple accounts are not supported</msg>
+       </error>
+       <error name="ACCOUNT_ERROR_DATABASE_BUSY">
+               <value>TIZEN_ERROR_ACCOUNT | 0x10</value>
+               <msg>SQLite busy handler expired</msg>
+       </error>
+</package>
+
diff --git a/error_messages/libcore-sync-client.xml b/error_messages/libcore-sync-client.xml
new file mode 100644 (file)
index 0000000..bf30108
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/account/sync-manager">
+       <error name="SYNC_ERROR_SYSTEM">
+               <value>TIZEN_ERROR_SYNC_MANAGER | 0x01</value>
+               <msg>System error</msg>
+       </error>
+       <error name="SYNC_ERROR_SYNC_ADAPTER_NOT_FOUND">
+               <value>TIZEN_ERROR_SYNC_MANAGER | 0x02</value>
+               <msg>Sync adater is not registered</msg>
+       </error>
+</package>
+
diff --git a/error_messages/libeom.xml b/error_messages/libeom.xml
new file mode 100644 (file)
index 0000000..0ac2a8b
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/uifw/libeom">
+       <error name="EOM_ERROR_CONNECTION_FAILURE">
+               <value>TIZEN_ERROR_EOM | 0x01</value>
+               <msg>Connection failure</msg>
+       </error>
+       <error name="EOM_ERROR_MESSAGE_SENDING_FAILURE">
+               <value>TIZEN_ERROR_EOM | 0x02</value>
+               <msg>Message sending failure</msg>
+       </error>
+       <error name="EOM_ERROR_MESSAGE_OPERATION_FAILURE">
+               <value>TIZEN_ERROR_EOM | 0x03</value>
+               <msg>Message operation failure</msg>
+       </error>
+</package>
\ No newline at end of file
diff --git a/error_messages/libfeedback.xml b/error_messages/libfeedback.xml
new file mode 100644 (file)
index 0000000..796edc9
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/system/libsvi">
+       <error name="FEEDBACK_ERROR_NOT_INITIALIZED">
+               <value>TIZEN_ERROR_FEEDBACK | 0x01</value>
+               <msg>Not initialized</msg>
+       </error>
+</package>
\ No newline at end of file
diff --git a/error_messages/liboauth2.xml b/error_messages/liboauth2.xml
new file mode 100644 (file)
index 0000000..8ec2f8d
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/account/liboauth2">
+       <error name="OAUTH2_ERROR_PARSE_FAILED">
+               <value>TIZEN_ERROR_ACCOUNT_OAUTH | 0x01</value>
+               <msg>Response parse failed</msg>
+       </error>
+       <error name="OAUTH2_ERROR_NETWORK_ERROR">
+               <value>TIZEN_ERROR_ACCOUNT_OAUTH | 0x02</value>
+               <msg>Network error</msg>
+       </error>
+       <error name="OAUTH2_ERROR_SERVER">
+               <value>TIZEN_ERROR_ACCOUNT_OAUTH | 0x03</value>
+               <msg>Server error</msg>
+       </error>
+       <error name="OAUTH2_ERROR_USER_CANCELLED">
+               <value>TIZEN_ERROR_ACCOUNT_OAUTH | 0x04</value>
+               <msg>User cancelled the operation</msg>
+       </error>
+       <error name="OAUTH2_ERROR_VALUE_NOT_FOUND">
+               <value>TIZEN_ERROR_ACCOUNT_OAUTH | 0x05</value>
+               <msg>Value not found</msg>
+       </error>
+</package>
+
diff --git a/error_messages/libshortcut.xml b/error_messages/libshortcut.xml
new file mode 100644 (file)
index 0000000..beae145
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/appfw/shortcut">
+       <error name="SHORTCUT_ERROR_NO_SPACE">
+               <value>TIZEN_ERROR_SHORTCUT | 0x0001</value>
+               <msg>There is no space to add a new shortcut</msg>
+       </error>
+       <error name="SHORTCUT_ERROR_EXIST">
+               <value>TIZEN_ERROR_SHORTCUT | 0x0002</value>
+               <msg>Shortcut is already added</msg>
+       </error>
+       <error name="SHORTCUT_ERROR_FAULT">
+               <value>TIZEN_ERROR_SHORTCUT | 0x0004</value>
+               <msg>Failed to add a shortcut. Unrecoverable error</msg>
+       </error>
+       <error name="SHORTCUT_ERROR_COMM">
+               <value>TIZEN_ERROR_SHORTCUT | 0x0040</value>
+               <msg>Connection is not established. or there is a problem in the communication</msg>
+       </error> 
+</package>
\ No newline at end of file
diff --git a/error_messages/libstorage.xml b/error_messages/libstorage.xml
new file mode 100644 (file)
index 0000000..fb75cf4
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/system/libstorage">
+       <error name="STORAGE_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_SYSTEM_CLASS | 0x12</value>
+               <msg>Operation failed</msg>
+       </error>
+</package>
+
diff --git a/error_messages/minicontrol.xml b/error_messages/minicontrol.xml
new file mode 100644 (file)
index 0000000..7c5a340
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="apps/core/preloaded/minicontrol">
+       <error name="MINICONTROL_ERROR_IPC_FAILURE">
+               <value>TIZEN_ERROR_MINICONTROL | 0x02</value>
+               <msg> IPC error</msg>
+       </error>
+       <error name="MINICONTROL_ERROR_ELM_FAILURE">
+               <value>TIZEN_ERROR_MINICONTROL | 0x03</value>
+               <msg> Some error occued on elementary</msg>
+       </error>
+</package>
\ No newline at end of file
diff --git a/error_messages/motion.xml b/error_messages/motion.xml
new file mode 100644 (file)
index 0000000..70c8181
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/motion">
+       <error name="ACTIVITY_ERROR_ALREADY_STARTED">
+               <value>TIZEN_ERROR_CONTEXT | 0x01</value>
+               <msg>Recognition is already started</msg>
+       </error>
+       <error name="ACTIVITY_ERROR_NOT_STARTED">
+               <value>TIZEN_ERROR_CONTEXT | 0x02</value>
+               <msg>Recognition is not started</msg>
+       </error>
+       <error name="ACTIVITY_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_CONTEXT | 0x04</value>
+               <msg>Operation failed</msg>
+       </error>
+</package>
+
diff --git a/error_messages/notification.xml b/error_messages/notification.xml
new file mode 100644 (file)
index 0000000..220ca95
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/notification">
+       <error name="NOTIFICATION_ERROR_FROM_DB">
+               <value>TIZEN_ERROR_NOTIFICATION | 0x01</value>
+               <msg>Error from DB</msg>
+       </error>
+       <error name="NOTIFICATION_ERROR_ALREADY_EXIST_ID">
+               <value>TIZEN_ERROR_NOTIFICATION | 0x02</value>
+               <msg>Already exist private ID</msg>
+       </error>
+       <error name="NOTIFICATION_ERROR_FROM_DBUS">
+               <value>TIZEN_ERROR_NOTIFICATION | 0x03</value>
+               <msg>Error from DBus</msg>
+       </error>
+       <error name="NOTIFICATION_ERROR_NOT_EXIST_ID">
+               <value>TIZEN_ERROR_NOTIFICATION | 0x04</value>
+               <msg>Not exist private ID </msg>
+       </error>
+       <error name="NOTIFICATION_ERROR_SERVICE_NOT_READY">
+               <value>TIZEN_ERROR_NOTIFICATION | 0x05</value>
+               <msg>No reponse from notification service</msg>
+       </error>
+</package>
+
diff --git a/error_messages/phonenumber-utils.xml b/error_messages/phonenumber-utils.xml
new file mode 100644 (file)
index 0000000..9014e4d
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/telephony/phonenumber-utils">
+       <error name="PHONE_NUMBER_ERROR_SYSTEM">
+               <value>TIZEN_ERROR_PHONENUMBER_UTILS | 0xEF</value>
+               <msg>Internal error</msg>
+       </error>
+</package>
+
diff --git a/error_messages/service-adaptor.xml b/error_messages/service-adaptor.xml
new file mode 100644 (file)
index 0000000..aa58b99
--- /dev/null
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/convergence/service-adaptor">
+       <error name="SERVICE_ADAPTOR_ERROR_IPC_UNSTABLE">
+               <value>TIZEN_ERROR_SERVICE_ADAPTOR | 0x01</value>
+               <msg>IPC Connection unstabled</msg>
+       </error>
+       <error name="SERVICE_ADAPTOR_ERROR_PLUGIN_FAILED">
+               <value>TIZEN_ERROR_SERVICE_ADAPTOR | 0x02</value>
+               <msg>The error occured from Plugin</msg>
+       </error>
+       <error name="SERVICE_ADAPTOR_ERROR_NOT_AUTHORIZED">
+               <value>TIZEN_ERROR_SERVICE_ADAPTOR | 0x03</value>
+               <msg>Need Autholization </msg>
+       </error>
+       <error name="SERVICE_ADAPTOR_ERROR_INVALID_STATE">
+               <value>TIZEN_ERROR_SERVICE_ADAPTOR | 0x04</value>
+               <msg>The handle state is invalid for processing API</msg>
+       </error>
+       <error name="SERVICE_ADAPTOR_ERROR_SYSTEM">
+               <value>TIZEN_ERROR_SERVICE_ADAPTOR | 0x05</value>
+               <msg>Internal system module error</msg>
+       </error>
+       <error name="SERVICE_ADAPTOR_ERROR_INTERNAL">
+               <value>TIZEN_ERROR_SERVICE_ADAPTOR | 0x06</value>
+               <msg>Implementation Error</msg>
+       </error>
+
+</package>
+
diff --git a/error_messages/stt.xml b/error_messages/stt.xml
new file mode 100644 (file)
index 0000000..bd73458
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/uifw/stt">
+       <error name="STT_ERROR_INVALID_STATE">
+               <value>TIZEN_ERROR_STT | 0x01</value>
+               <msg>Invalid state</msg>
+       </error>
+       <error name="STT_ERROR_INVALID_LANGUAGE">
+               <value>TIZEN_ERROR_STT | 0x02</value>
+               <msg>Invalid language</msg>
+       </error>
+       <error name="STT_ERROR_ENGINE_NOT_FOUND">
+               <value>TIZEN_ERROR_STT | 0x03</value>
+               <msg>No available engine</msg>
+       </error>
+       <error name="STT_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_STT | 0x04</value>
+               <msg>Operation failed</msg>
+       </error>
+       <error name="STT_ERROR_NOT_SUPPORTED_FEATURE">
+               <value>TIZEN_ERROR_STT | 0x05</value>
+               <msg>Not supported feature of current engine</msg>
+       </error>
+</package>
+
diff --git a/error_messages/tts.xml b/error_messages/tts.xml
new file mode 100644 (file)
index 0000000..02a811c
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/uifw/tts">
+       <error name="TTS_ERROR_INVALID_STATE">
+               <value>TIZEN_ERROR_TTS | 0x01</value>
+               <msg>Invalid state</msg>
+       </error>
+       <error name="TTS_ERROR_INVALID_VOICE">
+               <value>TIZEN_ERROR_TTS | 0x02</value>
+               <msg>Invalid voice</msg>
+       </error>
+       <error name="TTS_ERROR_ENGINE_NOT_FOUND">
+               <value>TIZEN_ERROR_TTS | 0x03</value>
+               <msg>No available engine</msg>
+       </error>
+       <error name="TTS_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_TTS | 0x04</value>
+               <msg>Operation failed</msg>
+       </error>
+       <error name="TTS_ERROR_AUDIO_POLICY_BLOCKED">
+               <value>TIZEN_ERROR_TTS | 0x05</value>
+               <msg>Audio policy blocked</msg>
+       </error>
+</package>
\ No newline at end of file
diff --git a/error_messages/voice-contro-elm.xml b/error_messages/voice-contro-elm.xml
new file mode 100644 (file)
index 0000000..c1348e0
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/uifw/voice-control-elm">
+       <error name="VC_ELM_ERROR_INVALID_STATE">
+               <value>TIZEN_ERROR_VOICE_CONTROL | 0x021</value>
+               <msg>Invalid state</msg>
+       </error>
+       <error name="VC_ELM_ERROR_INVALID_LANGUAG">
+               <value>TIZEN_ERROR_VOICE_CONTROL | 0x022</value>
+               <msg>Invalid language</msg>
+       </error>
+       <error name="VC_ELM_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_VOICE_CONTROL | 0x023</value>
+               <msg>Operation failed</msg>
+       </error>
+       <error name="VC_ELM_ERROR_OPERATION_REJECTED">
+               <value>TIZEN_ERROR_VOICE_CONTROL | 0x024</value>
+               <msg>Operation rejected</msg>
+       </error>
+</package>
+
diff --git a/error_messages/voice-control.xml b/error_messages/voice-control.xml
new file mode 100644 (file)
index 0000000..9c85603
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/uifw/voice-control">
+       <error name="VC_ERROR_INVALID_STATE">
+               <value>TIZEN_ERROR_VOICE_CONTROL | 0x011</value>
+               <msg>Invalid state</msg>
+       </error>
+       <error name="VC_ERROR_INVALID_LANGUAGE">
+               <value>TIZEN_ERROR_VOICE_CONTROL | 0x012</value>
+               <msg>Invalid language</msg>
+       </error>
+       <error name="VC_ERROR_ENGINE_NOT_FOUND">
+               <value>TIZEN_ERROR_VOICE_CONTROL | 0x013</value>
+               <msg>No available engine</msg>
+       </error>
+       <error name="VC_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_VOICE_CONTROL | 0x014</value>
+               <msg>Operation failed</msg>
+       </error>
+       <error name="VC_ERROR_OPERATION_REJECTED">
+               <value>TIZEN_ERROR_VOICE_CONTROL | 0x015</value>
+               <msg>Operation rejected</msg>
+       </error>
+       <error name="VC_ERROR_ITERATION_END">
+               <value>TIZEN_ERROR_VOICE_CONTROL | 0x016</value>
+               <msg>List reached end</msg>
+       </error>
+       <error name="VC_ERROR_EMPTY">
+               <value>TIZEN_ERROR_VOICE_CONTROL | 0x017</value>
+               <msg>List empty</msg>
+       </error>
+</package>
\ No newline at end of file
diff --git a/error_messages/widget_service.xml b/error_messages/widget_service.xml
new file mode 100644 (file)
index 0000000..8e1ea21
--- /dev/null
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/appfw/widget-service">
+       <error name="WIDGET_ERROR_FAULT">
+               <value>TIZEN_ERROR_WIDGET | 0x0001</value>
+               <msg>Fault - Unable to recover from the error</msg>
+       </error>
+       <error name="WIDGET_ERROR_ALREADY_EXIST">
+               <value>TIZEN_ERROR_WIDGET | 0x0002</value>
+               <msg>Already exists</msg>
+       </error>
+       <error name="WIDGET_ERROR_ALREADY_STARTED">
+               <value>TIZEN_ERROR_WIDGET | 0x0004</value>
+               <msg>Operation is already started</msg>
+       </error>
+       <error name="WIDGET_ERROR_NOT_EXIST">
+               <value>TIZEN_ERROR_WIDGET | 0x0008</value>
+               <msg>Not exists</msg>
+       </error>
+       <error name="WIDGET_ERROR_DISABLED">
+               <value>TIZEN_ERROR_WIDGET | 0x00010</value>
+               <msg>Disabled</msg>
+       </error>
+</package>
+
+
diff --git a/include/private/tizen_error_private.h b/include/private/tizen_error_private.h
new file mode 100644 (file)
index 0000000..f3d54d0
--- /dev/null
@@ -0,0 +1,610 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License. 
+ */
+
+
+
+#ifndef __TIZEN_COMMON_ERROR_PRIVATE_H__
+#define __TIZEN_COMMON_ERROR_PRIVATE_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define ERR_ENTRY(name, value, msg) {value, name, msg}
+
+typedef struct tizen_err_info {
+       int value;
+       const char *name;
+       const char *msg;
+} err_info;
+
+static err_info err_list[] = {
+       ERR_ENTRY("TIZEN_ERROR_UNKNOWN", TIZEN_ERROR_UNKNOWN, "Unknown error"),
+       ERR_ENTRY("TIZEN_ERROR_TIMED_OUT", TIZEN_ERROR_TIMED_OUT, "Time out"),
+       ERR_ENTRY("TIZEN_ERROR_NOT_SUPPORTED", TIZEN_ERROR_NOT_SUPPORTED, "Not supported"),
+       ERR_ENTRY("TIZEN_ERROR_USER_NOT_CONSENTED", TIZEN_ERROR_USER_NOT_CONSENTED, "Not consented"),
+#if defined(TIZEN_ERROR_ACCOUNT)
+       ERR_ENTRY("ACCOUNT_ERROR_DUPLICATED", TIZEN_ERROR_ACCOUNT | 0x01, "Same user name exists in your application"),
+       ERR_ENTRY("ACCOUNT_ERROR_RECORD_NOT_FOUND", TIZEN_ERROR_ACCOUNT | 0x03, "Related record does not exist"),
+       ERR_ENTRY("ACCOUNT_ERROR_DB_FAILED", TIZEN_ERROR_ACCOUNT | 0x04, "DB operation failed"),
+       ERR_ENTRY("ACCOUNT_ERROR_DB_NOT_OPENED", TIZEN_ERROR_ACCOUNT | 0x05, "DB is not connected"),
+       ERR_ENTRY("ACCOUNT_ERROR_QUERY_SYNTAX_ERROR", TIZEN_ERROR_ACCOUNT | 0x06, "DB query syntax error"),
+       ERR_ENTRY("ACCOUNT_ERROR_ITERATOR_END", TIZEN_ERROR_ACCOUNT | 0x07, "Iterator has reached the end"),
+       ERR_ENTRY("ACCOUNT_ERROR_NOTI_FAILED", TIZEN_ERROR_ACCOUNT | 0x08, "Notification failed"),
+       ERR_ENTRY("ACCOUNT_ERROR_XML_PARSE_FAILED", TIZEN_ERROR_ACCOUNT | 0x0a, "XML parse failed"),
+       ERR_ENTRY("ACCOUNT_ERROR_XML_FILE_NOT_FOUND", TIZEN_ERROR_ACCOUNT | 0x0b, "XML file does not exist "),
+       ERR_ENTRY("ACCOUNT_ERROR_EVENT_SUBSCRIPTION_FAIL", TIZEN_ERROR_ACCOUNT | 0x0c, "Subscription failed "),
+       ERR_ENTRY("ACCOUNT_ERROR_NOT_REGISTERED_PROVIDER", TIZEN_ERROR_ACCOUNT | 0x0d, "Account provider is not registered"),
+       ERR_ENTRY("ACCOUNT_ERROR_NOT_ALLOW_MULTIPLE", TIZEN_ERROR_ACCOUNT | 0x0e, "Multiple accounts are not supported"),
+       ERR_ENTRY("ACCOUNT_ERROR_DATABASE_BUSY", TIZEN_ERROR_ACCOUNT | 0x10, "SQLite busy handler expired"),
+#endif
+#if defined(TIZEN_ERROR_APPLICATION)
+       ERR_ENTRY("APP_ERROR_INVALID_CONTEXT", TIZEN_ERROR_APPLICATION | 0x01, "Invalid application context"),
+       ERR_ENTRY("ALARM_ERROR_INVALID_TIME", TIZEN_ERROR_APPLICATION | 0x05, "Invalid time"),
+       ERR_ENTRY("ALARM_ERROR_INVALID_DATE", TIZEN_ERROR_APPLICATION | 0x06, "Invalid date"),
+       ERR_ENTRY("ALARM_ERROR_CONNECTION_FAIL", TIZEN_ERROR_APPLICATION | 0x07, "The alarm service connection failed"),
+       ERR_ENTRY("ALARM_ERROR_NOT_PERMITTED_APP", TIZEN_ERROR_APPLICATION | 0x08, "Application is not permitted"),
+       ERR_ENTRY("APP_CONTROL_ERROR_APP_NOT_FOUND", TIZEN_ERROR_APPLICATION | 0x21, "The application is not found"),
+       ERR_ENTRY("APP_CONTROL_ERROR_INVALID_DATA_TYPE", TIZEN_ERROR_APPLICATION | 0x22, "Invalid data type"),
+       ERR_ENTRY("APP_CONTROL_ERROR_LAUNCH_REJECTED", TIZEN_ERROR_APPLICATION | 0x23, "The application cannot be launched now"),
+       ERR_ENTRY("APP_CONTROL_ERROR_LAUNCH_FAILED", TIZEN_ERROR_APPLICATION | 0x24, "Internal launch error"),
+       ERR_ENTRY("PREFERENCE_ERROR_NO_KEY", TIZEN_ERROR_APPLICATION | 0x30, "Required key not available"),
+#endif
+#if defined(TIZEN_ERROR_APPLICATION_MANAGER)
+       ERR_ENTRY("APP_MANAGER_ERROR_NO_SUCH_APP", TIZEN_ERROR_APPLICATION_MANAGER | 0x01, "No such application"),
+       ERR_ENTRY("APP_MANAGER_ERROR_DB_FAILED", TIZEN_ERROR_APPLICATION_MANAGER | 0x03, "Database error"),
+       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"),
+#endif
+#if defined(TIZEN_ERROR_BADGE)
+       ERR_ENTRY("BADGE_ERROR_FROM_DB", TIZEN_ERROR_BADGE | 0x01, "Error from DB"),
+       ERR_ENTRY("BADGE_ERROR_ALREADY_EXIST", TIZEN_ERROR_BADGE | 0x02, "Already exist"),
+       ERR_ENTRY("BADGE_ERROR_FROM_DBUS", TIZEN_ERROR_BADGE | 0x03, "Error from DBus"),
+       ERR_ENTRY("BADGE_ERROR_NOT_EXIST", TIZEN_ERROR_BADGE | 0x04, "Not exist"),
+       ERR_ENTRY("BADGE_ERROR_SERVICE_NOT_READY", TIZEN_ERROR_BADGE | 0x05, "Error service not ready"),
+#endif
+#if defined(TIZEN_ERROR_MESSAGE_PORT)
+       ERR_ENTRY("MESSAGE_PORT_ERROR_PORT_NOT_FOUND", TIZEN_ERROR_MESSAGE_PORT | 0x01, "The message port of the remote application is not found"),
+       ERR_ENTRY("MESSAGE_PORT_ERROR_CERTIFICATE_NOT_MATCH", TIZEN_ERROR_MESSAGE_PORT | 0x02, "The remote application is not signed with the same certificate"),
+       ERR_ENTRY("MESSAGE_PORT_ERROR_MAX_EXCEEDED", TIZEN_ERROR_MESSAGE_PORT | 0x03, "The size of the message has exceeded the maximum limit"),
+       ERR_ENTRY("MESSAGE_PORT_ERROR_RESOURCE_UNAVAILABLE", TIZEN_ERROR_MESSAGE_PORT | 0x04, "Resource is temporarily unavailable"),
+#endif
+#if defined(TIZEN_ERROR_NOTIFICATION)
+       ERR_ENTRY("NOTIFICATION_ERROR_FROM_DB", TIZEN_ERROR_NOTIFICATION | 0x01, "Error from DB"),
+       ERR_ENTRY("NOTIFICATION_ERROR_ALREADY_EXIST_ID", TIZEN_ERROR_NOTIFICATION | 0x02, "Already exist private ID"),
+       ERR_ENTRY("NOTIFICATION_ERROR_FROM_DBUS", TIZEN_ERROR_NOTIFICATION | 0x03, "Error from DBus"),
+       ERR_ENTRY("NOTIFICATION_ERROR_NOT_EXIST_ID", TIZEN_ERROR_NOTIFICATION | 0x04, "Not exist private ID "),
+       ERR_ENTRY("NOTIFICATION_ERROR_SERVICE_NOT_READY", TIZEN_ERROR_NOTIFICATION | 0x05, "No reponse from notification service"),
+#endif
+
+#if defined(TIZEN_ERROR_PACKAGE_MANAGER)
+       ERR_ENTRY("PACKAGE_MANAGER_ERROR_NO_SUCH_PACKAGE", TIZEN_ERROR_PACKAGE_MANAGER | 0x71, "No such package"),
+       ERR_ENTRY("PACKAGE_MANAGER_ERROR_SYSTEM_ERROR", TIZEN_ERROR_PACKAGE_MANAGER | 0x72, "Severe system error "),
+#endif
+
+#if defined(TIZEN_ERROR_SHORTCUT)
+       ERR_ENTRY("SHORTCUT_ERROR_NO_SPACE", TIZEN_ERROR_SHORTCUT | 0x0001, "There is no space to add a new shortcut"),
+       ERR_ENTRY("SHORTCUT_ERROR_EXIST", TIZEN_ERROR_SHORTCUT | 0x0002, "Shortcut is already added"),
+       ERR_ENTRY("SHORTCUT_ERROR_FAULT", TIZEN_ERROR_SHORTCUT | 0x0004, "Failed to add a shortcut. Unrecoverable error"),
+       ERR_ENTRY("SHORTCUT_ERROR_COMM", TIZEN_ERROR_SHORTCUT | 0x0040, "Connection is not established. or there is a problem in the communication"),
+#endif
+#if defined(TIZEN_ERROR_BUNDLE)
+       ERR_ENTRY("BUNDLE_ERROR_KEY_EXISTS", TIZEN_ERROR_BUNDLE | 0x01, "Key exists"),
+#endif
+#if defined(TIZEN_ERROR_DATA_CONTROL)
+       ERR_ENTRY("DATA_CONTROL_ERROR_MAX_EXCEEDED", TIZEN_ERROR_DATA_CONTROL | 0x01, "Too long argument"),
+#endif
+#if defined(TIZEN_ERROR_SERVICE_APPLICATION)
+#endif
+#if defined(TIZEN_ERROR_UTILITY_ICU)
+       ERR_ENTRY("I18N_ERROR_MISSING_RESOURCE", TIZEN_ERROR_UTILITY_ICU | 0x01, "The requested resource cannot be found"),
+       ERR_ENTRY("I18N_ERROR_INVALID_FORMAT", TIZEN_ERROR_UTILITY_ICU | 0x02, "Data format is not what is expected "),
+       ERR_ENTRY("I18N_ERROR_FILE_ACCESS", TIZEN_ERROR_UTILITY_ICU | 0x03, "The requested file cannot be found"),
+       ERR_ENTRY("I18N_ERROR_INTERNAL_PROGRAM", TIZEN_ERROR_UTILITY_ICU | 0x04, "Indicates a bug in the library code"),
+       ERR_ENTRY("I18N_ERROR_INDEX_OUTOFBOUNDS", TIZEN_ERROR_UTILITY_ICU | 0x05, "Trying to access the index that is out of bounds"),
+       ERR_ENTRY("I18N_ERROR_INVALID_CHAR_FOUND", TIZEN_ERROR_UTILITY_ICU | 0x6, "Character conversion: Unmappable input sequence. In other APIs: Invalid character"),
+       ERR_ENTRY("I18N_ERROR_BUFFER_OVERFLOW", TIZEN_ERROR_UTILITY_ICU | 0x07, "A result would not fit in the supplied buffer"),
+       ERR_ENTRY("I18N_ERROR_COLLATOR_VERSION_MISMATCH", TIZEN_ERROR_UTILITY_ICU | 0x08, "Collator version is not compatible with the base version"),
+       ERR_ENTRY("I18N_ERROR_USELESS_COLLATOR", TIZEN_ERROR_UTILITY_ICU | 0x09, "Collator is options only and no base is specified"),
+       ERR_ENTRY("I18N_ERROR_NO_WRITE_PERMISSION", TIZEN_ERROR_UTILITY_ICU | 0x0A, "Attempt to modify read-only or constant data"),
+       ERR_ENTRY("I18N_ERROR_RESOURCE_TYPE_MISMATCH", TIZEN_ERROR_UTILITY_ICU | 0x0B, "An operation is requested over a resource that does not support it"),
+       ERR_ENTRY("I18N_ERROR_TOO_MANY_ALIASES", TIZEN_ERROR_UTILITY_ICU | 0x0C, "Too many aliases in the path to the requested resource"),
+
+       ERR_ENTRY("I18N_ERROR_MESSAGE_PARSE", TIZEN_ERROR_UTILITY_ICU | 0x0D, "Unable to parse a message (message format)"),
+       ERR_ENTRY("I18N_ERROR_PARSE", TIZEN_ERROR_UTILITY_ICU | 0x0E, "Equivalent to Java ParseException"),
+       ERR_ENTRY("I18N_ERROR_TRUNCATED_CHAR_FOUND", TIZEN_ERROR_UTILITY_ICU | 0x0F, "Character conversion: Incomplete input sequence"),
+       ERR_ENTRY("I18N_ERROR_ILLEGAL_CHAR_FOUND", TIZEN_ERROR_UTILITY_ICU | 0x10, "Character conversion: Illegal input sequence/combination of input units"),
+       ERR_ENTRY("I18N_ERROR_INVALID_TABLE_FORMAT", TIZEN_ERROR_UTILITY_ICU | 0x11, "Conversion table file found, but corrupted"),
+       ERR_ENTRY("I18N_ERROR_INVALID_TABLE_FILE", TIZEN_ERROR_UTILITY_ICU | 0x12, "Conversion table file not found"),
+       ERR_ENTRY("I18N_ERROR_ILLECAL_ESCAPE_SEQUENCE", TIZEN_ERROR_UTILITY_ICU | 0x13, "ISO-2022 illlegal escape sequence"),
+       ERR_ENTRY("I18N_ERROR_UNSUPPORTED_ESCAPE_SEQUENCE", TIZEN_ERROR_UTILITY_ICU | 0x14, "ISO-2022 unsupported escape sequence"),
+       ERR_ENTRY("I18N_ERROR_NO_SPACE_AVAILABLE", TIZEN_ERROR_UTILITY_ICU | 0x15, "No space available for in-buffer expansion for Arabic shaping"),
+       ERR_ENTRY("I18N_ERROR_CE_NOT_FOUND", TIZEN_ERROR_UTILITY_ICU | 0x16, "Currently used only while setting variable top, but can be used generally"),
+       ERR_ENTRY("I18N_ERROR_PRIMARY_TOO_LONG", TIZEN_ERROR_UTILITY_ICU | 0x17, "User tried to set variable top to a primary that is longer than two bytes"),
+       ERR_ENTRY("I18N_ERROR_STATE_TOO_OLD", TIZEN_ERROR_UTILITY_ICU | 0x18, "ICU cannot construct a service from this state, as it is no longer supported"),
+       ERR_ENTRY("I18N_ERROR_ENUM_OUT_OF_SYNC", TIZEN_ERROR_UTILITY_ICU | 0x19, "UEnumeration out of sync with underlying collection"),
+       ERR_ENTRY("I18N_ERROR_INVARIANT_CONVERSION", TIZEN_ERROR_UTILITY_ICU | 0x1A, "Unable to convert a UChar* string to char* with the invariant converter"),
+       ERR_ENTRY("I18N_ERROR_INVALID_STATE", TIZEN_ERROR_UTILITY_ICU | 0x1B, "Requested operation can not be completed with ICU in its current state"),
+       ERR_ENTRY("I18N_ERROR_MALFORMED_SET", TIZEN_ERROR_UTILITY_ICU | 0x1C, "A UnicodeSet pattern is invalid. @if MOBILE"),
+       ERR_ENTRY("I18N_WARNING_STRING_NOT_TERMINATED", TIZEN_ERROR_UTILITY_ICU | 0x1D, "String not terminated with NULL. @if MOBILE"),
+       ERR_ENTRY("I18N_ERROR_STD3_ASCII_RULES", TIZEN_ERROR_UTILITY_ICU | 0x1E, "Argument does not satisfy STD3 rules"),
+       ERR_ENTRY("I18N_ERROR_UNASSIGNED", TIZEN_ERROR_UTILITY_ICU | 0x1F, "Unassigned code points are found"),
+       ERR_ENTRY("I18N_WARNING_SORT_KEY_TOO_SHORT", TIZEN_ERROR_UTILITY_ICU | 0x20, "Number of levels requested in getBound is higher than the number of levels in the sort key"),
+
+#endif
+#if defined(TIZEN_ERROR_MIME_TYPE)
+#endif
+#if defined(TIZEN_ERROR_MEDIA_CONTENT)
+       ERR_ENTRY("MEDIA_CONTENT_ERROR_DB_FAILED", TIZEN_ERROR_MEDIA_CONTENT | 0x01, "DB operation failed "),
+       ERR_ENTRY("MEDIA_CONTENT_ERROR_DB_BUSY", TIZEN_ERROR_MEDIA_CONTENT | 0x02, "DB operation BUSY"),
+       ERR_ENTRY("MEDIA_CONTENT_ERROR_NETWORK", TIZEN_ERROR_MEDIA_CONTENT | 0x03, "Network Fail"),
+       ERR_ENTRY("MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT", TIZEN_ERROR_MEDIA_CONTENT | 0x04, "Unsupported content "),
+#endif
+#if defined(TIZEN_ERROR_EMAIL_SERVICE)
+       ERR_ENTRY("EMAILS_ERROR_SERVER_NOT_READY", TIZEN_ERROR_EMAIL_SERVICE | 0x200, "Server not ready"),
+       ERR_ENTRY("EMAILS_ERROR_COMMUNICATION_WITH_SERVER_FAILED", TIZEN_ERROR_EMAIL_SERVICE | 0x201, "Communication with server failed"),
+       ERR_ENTRY("EMAILS_ERROR_OPERATION_FAILED", TIZEN_ERROR_EMAIL_SERVICE | 0x202, "Operation failed"),
+       ERR_ENTRY("EMAILS_ERROR_ACCOUNT_NOT_FOUND", TIZEN_ERROR_EMAIL_SERVICE | 0x203, "Email account not found"),
+       ERR_ENTRY("EMAILS_ERROR_DB_FAILED", TIZEN_ERROR_EMAIL_SERVICE | 0x204, "Email database failed"),
+#endif
+#if defined(TIZEN_ERROR_MESSAGING_SERVICE)
+       ERR_ENTRY("MESSAGES_ERROR_SERVER_NOT_READY", TIZEN_ERROR_MESSAGING_SERVICE | 0x501, "Server is not read"),
+       ERR_ENTRY("MESSAGES_ERROR_COMMUNICATION_WITH_SERVER_FAILED", TIZEN_ERROR_MESSAGING_SERVICE | 0x502, "Communication with server failed"),
+       ERR_ENTRY("MESSAGES_ERROR_OUT_OF_RANGE", TIZEN_ERROR_MESSAGING_SERVICE | 0x503, "Index out of range"),
+       ERR_ENTRY("MESSAGES_ERROR_SENDING_FAILED", TIZEN_ERROR_MESSAGING_SERVICE | 0x504, "Sending a message failed"),
+       ERR_ENTRY("MESSAGES_ERROR_OPERATION_FAILED", TIZEN_ERROR_MESSAGING_SERVICE | 0x505, "Messaging operation failed"),
+       ERR_ENTRY("MESSAGES_ERROR_NO_SIM_CARD", TIZEN_ERROR_MESSAGING_SERVICE | 0x506, "No SIM Card"),
+       ERR_ENTRY("MESSAGES_ERROR_NO_DATA", TIZEN_ERROR_MESSAGING_SERVICE | 0x507, "No data available"),
+#endif
+#if defined(TIZEN_ERROR_PUSH)
+#endif
+#if defined(TIZEN_ERROR_AUDIO_IO)
+       ERR_ENTRY("AUDIO_IO_ERROR_DEVICE_NOT_OPENED", TIZEN_ERROR_AUDIO_IO | 0x01, "Device open error"),
+       ERR_ENTRY("AUDIO_IO_ERROR_DEVICE_NOT_CLOSED", TIZEN_ERROR_AUDIO_IO | 0x02, "Device close error"),
+       ERR_ENTRY("AUDIO_IO_ERROR_INVALID_BUFFER", TIZEN_ERROR_AUDIO_IO | 0x03, "Invalid buffer pointer"),
+       ERR_ENTRY("AUDIO_IO_ERROR_SOUND_POLICY", TIZEN_ERROR_AUDIO_IO | 0x04, "Sound policy error"),
+       ERR_ENTRY("AUDIO_IO_ERROR_INVALID_STATE", TIZEN_ERROR_AUDIO_IO | 0x05, "Invalid statea"),
+       ERR_ENTRY("AUDIO_IO_ERROR_NOT_SUPPORTED_TYPE", TIZEN_ERROR_AUDIO_IO | 0x06, "Not supported stream type"),
+#endif
+#if defined(TIZEN_ERROR_CAMERA)
+       ERR_ENTRY("CAMERA_ERROR_INVALID_STATE", TIZEN_ERROR_CAMERA | 0x02, "Invalid state"),
+       ERR_ENTRY("CAMERA_ERROR_DEVICE", TIZEN_ERROR_CAMERA | 0x04, "Device error"),
+       ERR_ENTRY("CAMERA_ERROR_SOUND_POLICY", TIZEN_ERROR_CAMERA | 0x06, "Blocked by Audio Session Manager"),
+       ERR_ENTRY("CAMERA_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_CAMERA | 0x07, "Restricted by security system policy"),
+       ERR_ENTRY("CAMERA_ERROR_DEVICE_BUSY", TIZEN_ERROR_CAMERA | 0x08, "The device is using another application or working on some operation"),
+       ERR_ENTRY("CAMERA_ERROR_DEVICE_NOT_FOUND", TIZEN_ERROR_CAMERA | 0x09, "No camera device "),
+       ERR_ENTRY("CAMERA_ERROR_SOUND_POLICY_BY_CALL", TIZEN_ERROR_CAMERA | 0x0a, "Blocked by Audio Session Manager - CALL"),
+       ERR_ENTRY("CAMERA_ERROR_SOUND_POLICY_BY_ALARM", TIZEN_ERROR_CAMERA | 0x0b, "Blocked by Audio Session Manager - ALARM"),
+       ERR_ENTRY("CAMERA_ERROR_ESD", TIZEN_ERROR_CAMERA | 0x0c, "ESD situation"),
+       ERR_ENTRY("CAMERA_ERROR_RESOURCE_CONFLICT", TIZEN_ERROR_CAMERA | 0x0d, "Blocked by resource conflict"),
+
+#endif
+#if defined(TIZEN_ERROR_IMAGE_UTIL)
+       ERR_ENTRY("IMAGE_UTIL_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_IMAGE_UTIL | 0x01, "Not supported format"),
+#endif
+#if defined(TIZEN_ERROR_METADATA_EXTRACTOR)
+       ERR_ENTRY("METADATA_EXTRACTOR_ERROR_OPERATION_FAILED", TIZEN_ERROR_METADATA_EXTRACTOR | 0x01, "Invalid internal operation"),
+#endif
+#if defined(TIZEN_ERROR_PLAYER)
+       ERR_ENTRY("PLAYER_ERROR_SEEK_FAILED", TIZEN_ERROR_PLAYER | 0x21, "Seek operation failure"),
+       ERR_ENTRY("PLAYER_ERROR_INVALID_STATE", TIZEN_ERROR_PLAYER | 0x22, "Invalid state"),
+       ERR_ENTRY("PLAYER_ERROR_NOT_SUPPORTED_FILE", TIZEN_ERROR_PLAYER | 0x23, "File format not supported"),
+       ERR_ENTRY("PLAYER_ERROR_INVALID_URI", TIZEN_ERROR_PLAYER | 0x24, "Invalid URI"),
+       ERR_ENTRY("PLAYER_ERROR_SOUND_POLICY", TIZEN_ERROR_PLAYER | 0x25, "Sound policy error "),
+       ERR_ENTRY("PLAYER_ERROR_CONNECTION_FAILED", TIZEN_ERROR_PLAYER | 0x26, "Streaming connection failed"),
+       ERR_ENTRY("PLAYER_ERROR_VIDEO_CAPTURE_FAILED", TIZEN_ERROR_PLAYER | 0x27, "Video capture failed"),
+       ERR_ENTRY("PLAYER_ERROR_DRM_EXPIRED", TIZEN_ERROR_PLAYER | 0x28, "Expired license"),
+       ERR_ENTRY("PLAYER_ERROR_DRM_NO_LICENSE", TIZEN_ERROR_PLAYER | 0x29, "No license "),
+       ERR_ENTRY("PLAYER_ERROR_DRM_FUTURE_USE", TIZEN_ERROR_PLAYER | 0x2a, "License for future use"),
+       ERR_ENTRY("PLAYER_ERROR_DRM_NOT_PERMITTED", TIZEN_ERROR_PLAYER | 0x2b, "Format not permitted"),
+       ERR_ENTRY("PLAYER_ERROR_RESOURCE_LIMIT", TIZEN_ERROR_PLAYER | 0x2c, "Resource limit"),
+       ERR_ENTRY("PLAYER_ERROR_SERVICE_DISCONNECTED", TIZEN_ERROR_PLAYER | 0x2d, "Socket connection lost"),
+
+#endif
+#if defined(TIZEN_ERROR_RECORDER)
+       ERR_ENTRY("RECORDER_ERROR_INVALID_STATE", TIZEN_ERROR_RECORDER | 0x12, "Invalid state"),
+       ERR_ENTRY("RECORDER_ERROR_DEVICE", TIZEN_ERROR_RECORDER | 0x14, "Device error "),
+       ERR_ENTRY("RECORDER_ERROR_SOUND_POLICY", TIZEN_ERROR_RECORDER | 0x16, "Blocked by Audio Session Manager"),
+       ERR_ENTRY("RECORDER_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_RECORDER | 0x17, "Restricted by security system policy"),
+       ERR_ENTRY("RECORDER_ERROR_SOUND_POLICY_BY_CALL", TIZEN_ERROR_RECORDER | 0x18, "Blocked by Audio Session Manager - CALL"),
+       ERR_ENTRY("RECORDER_ERROR_SOUND_POLICY_BY_ALARM", TIZEN_ERROR_RECORDER | 0x19, "Blocked by Audio Session Manager - ALARM"),
+       ERR_ENTRY("RECORDER_ERROR_ESD", TIZEN_ERROR_RECORDER | 0x1a, "ESD situation"),
+       ERR_ENTRY("RECORDER_ERROR_OUT_OF_STORAGE", TIZEN_ERROR_RECORDER | 0x1b, "Out of storage"),
+       ERR_ENTRY("RECORDER_ERROR_RESOURCE_CONFLICT", TIZEN_ERROR_RECORDER | 0x1c, "Blocked by resource conflict"),
+#endif
+#if defined(TIZEN_ERROR_SOUND_MANAGER)
+
+       ERR_ENTRY("SOUND_MANAGER_ERROR_INTERNAL", TIZEN_ERROR_SOUND_MANAGER | 0x01, "Internal error inside the sound system"),
+       ERR_ENTRY("SOUND_MANAGER_ERROR_POLICY", TIZEN_ERROR_SOUND_MANAGER | 0x02, "Noncompliance with the sound system policy"),
+       ERR_ENTRY("SOUND_MANAGER_ERROR_NO_PLAYING_SOUND", TIZEN_ERROR_SOUND_MANAGER | 0x03, "No playing sound"),
+       ERR_ENTRY("SOUND_MANAGER_ERROR_INVALID_STATE", TIZEN_ERROR_SOUND_MANAGER | 0x04, "Invalid state"),
+#endif
+#if defined(TIZEN_ERROR_TONE_PLAYER)
+       ERR_ENTRY("TONE_PLAYER_ERROR_NOT_SUPPORTED_TYPE", TIZEN_ERROR_TONE_PLAYER | 0x01, "Not supported"),
+#endif
+#if defined(TIZEN_ERROR_VIDEO_UTIL)
+       ERR_ENTRY("VIDEO_UTIL_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_VIDEO_UTIL | 0x01, "Not supported format"),
+#endif
+#if defined(TIZEN_ERROR_WAV_PLAYER)
+       ERR_ENTRY("WAV_PLAYER_ERROR_FORMAT_NOT_SUPPORTED", TIZEN_ERROR_WAV_PLAYER | 0x01, "Format not supported"),
+       ERR_ENTRY("WAV_PLAYER_ERROR_NOT_SUPPORTED_TYPE", TIZEN_ERROR_WAV_PLAYER | 0x02, "Not supported"),
+#endif
+#if defined(TIZEN_ERROR_RADIO)
+       ERR_ENTRY("RADIO_ERROR_INVALID_STATE", TIZEN_ERROR_RADIO | 0x01, "Invalid state"),
+       ERR_ENTRY("RADIO_ERROR_SOUND_POLICY", TIZEN_ERROR_RADIO | 0x02, "Sound policy error"),
+       ERR_ENTRY("RADIO_ERROR_NO_ANTENNA", TIZEN_ERROR_RADIO | 0x03, "No Antenna error"),
+
+#endif
+#if defined(TIZEN_ERROR_MEDIACODEC)
+       ERR_ENTRY("MEDIACODEC_ERROR_INVALID_STATE", TIZEN_ERROR_MEDIACODEC | 0x01, "Invalid state"),
+       ERR_ENTRY("MEDIACODEC_ERROR_INVALID_INBUFFER", TIZEN_ERROR_MEDIACODEC | 0x02, "Invalid input buffer"),
+       ERR_ENTRY("MEDIACODEC_ERROR_INVALID_OUTBUFFER", TIZEN_ERROR_MEDIACODEC | 0x03, "Invalid output buffer"),
+       ERR_ENTRY("MEDIACODEC_ERROR_INTERNAL", TIZEN_ERROR_MEDIACODEC | 0x04, "Invalid output buffer"),
+       ERR_ENTRY("MEDIACODEC_ERROR_NOT_INITIALIZED", TIZEN_ERROR_MEDIACODEC | 0x05, "Internal error"),
+       ERR_ENTRY("MEDIACODEC_ERROR_INVALID_STREAM", TIZEN_ERROR_MEDIACODEC | 0x06, "Not initialized mediacodec"),
+       ERR_ENTRY("MEDIACODEC_ERROR_CODEC_NOT_FOUND", TIZEN_ERROR_MEDIACODEC | 0x07, "Cannot find codec"),
+       ERR_ENTRY("MEDIACODEC_ERROR_DECODE", TIZEN_ERROR_MEDIACODEC | 0x08, "Error while decoding data"),
+       ERR_ENTRY("MEDIACODEC_ERROR_NO_FREE_SPACE", TIZEN_ERROR_MEDIACODEC | 0x09, "Out of storage"),
+       ERR_ENTRY("MEDIACODEC_ERROR_STREAM_NOT_FOUND", TIZEN_ERROR_MEDIACODEC | 0x0a, "Cannot find stream"),
+       ERR_ENTRY("MEDIACODEC_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_MEDIACODEC | 0x0b, "Not supported format "),
+       ERR_ENTRY("MEDIACODEC_ERROR_BUFFER_NOT_AVAILABLE", TIZEN_ERROR_MEDIACODEC | 0x0c, "Not available buffer"),
+       ERR_ENTRY("MEDIACODEC_ERROR_OVERFLOW_INBUFFER", TIZEN_ERROR_MEDIACODEC | 0x0d, "Overflow input buffer"),
+       ERR_ENTRY("MEDIACODEC_ERROR_RESOURCE_OVERLOADED", TIZEN_ERROR_MEDIACODEC | 0x0e, "Exceed the instance limit"),
+#endif
+#if defined(TIZEN_ERROR_BLUETOOTH)
+       ERR_ENTRY("BT_ERROR_NOT_INITIALIZED", TIZEN_ERROR_BLUETOOTH | 0x0101, "Local adapter not initialized"),
+       ERR_ENTRY("BT_ERROR_NOT_ENABLED", TIZEN_ERROR_BLUETOOTH | 0x0102, "Local adapter not enabled"),
+       ERR_ENTRY("BT_ERROR_ALREADY_DONE", TIZEN_ERROR_BLUETOOTH | 0x0103, "Operation already done"),
+       ERR_ENTRY("BT_ERROR_OPERATION_FAILED", TIZEN_ERROR_BLUETOOTH | 0x0104, "Operation failed"),
+       ERR_ENTRY("BT_ERROR_NOT_IN_PROGRESS", TIZEN_ERROR_BLUETOOTH | 0x0105, "Operation not in progress"),
+       ERR_ENTRY("BT_ERROR_REMOTE_DEVICE_NOT_BONDED", TIZEN_ERROR_BLUETOOTH | 0x0106, "Remote device not bonde"),
+       ERR_ENTRY("BT_ERROR_AUTH_REJECTED", TIZEN_ERROR_BLUETOOTH | 0x0107, "Authentication rejected"),
+       ERR_ENTRY("BT_ERROR_AUTH_FAILED", TIZEN_ERROR_BLUETOOTH | 0x0108, "Authentication failed"),
+       ERR_ENTRY("BT_ERROR_REMOTE_DEVICE_NOT_FOUND", TIZEN_ERROR_BLUETOOTH | 0x0109, "Remote device not found "),
+       ERR_ENTRY("BT_ERROR_SERVICE_SEARCH_FAILED", TIZEN_ERROR_BLUETOOTH | 0x010A, "Service search failed"),
+       ERR_ENTRY("BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED", TIZEN_ERROR_BLUETOOTH | 0x010B, "Remote device is not connected"),
+       ERR_ENTRY("BT_ERROR_AGAIN", TIZEN_ERROR_BLUETOOTH | 0x010C, "Resource temporarily unavailable "),
+       ERR_ENTRY("BT_ERROR_SERVICE_NOT_FOUND", TIZEN_ERROR_BLUETOOTH | 0x010D, "Service not found"),
+#endif
+#if defined(TIZEN_ERROR_CONNECTION)
+       ERR_ENTRY("CONNECTION_ERROR_OPERATION_FAILED", TIZEN_ERROR_CONNECTION | 0x0401, "Operation failed"),
+       ERR_ENTRY("CONNECTION_ERROR_ITERATOR_END", TIZEN_ERROR_CONNECTION | 0x0402, "End of iteration"),
+       ERR_ENTRY("CONNECTION_ERROR_NO_CONNECTION", TIZEN_ERROR_CONNECTION | 0x0403, "There is no connection"),
+       ERR_ENTRY("CONNECTION_ERROR_ALREADY_EXISTS", TIZEN_ERROR_CONNECTION | 0x0404, "Already exists"),
+       ERR_ENTRY("CONNECTION_ERROR_OPERATION_ABORTED", TIZEN_ERROR_CONNECTION | 0x0405, "Operation is aborted"),
+       ERR_ENTRY("CONNECTION_ERROR_DHCP_FAILED", TIZEN_ERROR_CONNECTION | 0x0406, "DHCP failed"),
+       ERR_ENTRY("CONNECTION_ERROR_INVALID_KEY", TIZEN_ERROR_CONNECTION | 0x0407, "Invalid key"),
+       ERR_ENTRY("CONNECTION_ERROR_NO_REPLY", TIZEN_ERROR_CONNECTION | 0x0408, "No reply"),
+#endif
+#if defined(TIZEN_ERROR_NFC)
+       ERR_ENTRY("NFC_ERROR_OPERATION_FAILED", TIZEN_ERROR_NFC | 0x01, "Operation failed"),
+       ERR_ENTRY("NFC_ERROR_INVALID_NDEF_MESSAGE", TIZEN_ERROR_NFC | 0x02, "Invalid NDEF message"),
+       ERR_ENTRY("NFC_ERROR_INVALID_RECORD_TYPE", TIZEN_ERROR_NFC | 0x03, "Invalid record type"),
+       ERR_ENTRY("NFC_ERROR_NO_DEVICE", TIZEN_ERROR_NFC | 0x04, "No device"),
+       ERR_ENTRY("NFC_ERROR_NOT_ACTIVATED", TIZEN_ERROR_NFC | 0x05, "NFC is not activated"),
+       ERR_ENTRY("NFC_ERROR_ALREADY_ACTIVATED", TIZEN_ERROR_NFC | 0x06, "Already activated"),
+       ERR_ENTRY("NFC_ERROR_ALREADY_DEACTIVATED", TIZEN_ERROR_NFC | 0x07, "Already deactivated"),
+       ERR_ENTRY("NFC_ERROR_READ_ONLY_NDEF", TIZEN_ERROR_NFC | 0x08, "Read only tag"),
+       ERR_ENTRY("NFC_ERROR_NO_SPACE_ON_NDEF", TIZEN_ERROR_NFC | 0x09, "No enough space on tag"),
+       ERR_ENTRY("NFC_ERROR_NO_NDEF_MESSAGE", TIZEN_ERROR_NFC | 0x0a, "No NDEF Message on Tag"),
+       ERR_ENTRY("NFC_ERROR_NOT_NDEF_FORMAT", TIZEN_ERROR_NFC | 0x0b, "Not NDEF format Tag "),
+       ERR_ENTRY("NFC_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_NFC | 0x0c, "Restricted by access control"),
+       ERR_ENTRY("NFC_ERROR_ILLEGAL_STATE", TIZEN_ERROR_NFC | 0x0d, "The state is wrong"),
+       ERR_ENTRY("NFC_ERROR_NOT_INITIALIZED", TIZEN_ERROR_NFC | 0x0e, "NFC is not initialized"),
+       ERR_ENTRY("NFC_ERROR_TAG_NOT_SUPPORTED", TIZEN_ERROR_NFC | 0x0f, "Tag is not supported"),
+       ERR_ENTRY("NFC_ERROR_AID_ALREADY_REGISTERED", TIZEN_ERROR_NFC | 0x10, "AID already registered"),
+#endif
+#if defined(TIZEN_ERROR_TETHERING)
+       ERR_ENTRY("TETHERING_ERROR_NOT_ENABLED", TIZEN_ERROR_TETHERING | 0x0501, "Not enabled"),
+       ERR_ENTRY("TETHERING_ERROR_OPERATION_FAILED", TIZEN_ERROR_TETHERING | 0x0502, "Operation failed"),
+#endif
+#if defined(TIZEN_ERROR_WIFI)
+       ERR_ENTRY("WIFI_ERROR_OPERATION_FAILED", TIZEN_ERROR_WIFI | 0x0301, "Operation failed"),
+       ERR_ENTRY("WIFI_ERROR_NO_CONNECTION", TIZEN_ERROR_WIFI | 0x0302, "There is no connected AP"),
+       ERR_ENTRY("WIFI_ERROR_ALREADY_EXISTS", TIZEN_ERROR_WIFI | 0x0303, "Already exists"),
+       ERR_ENTRY("WIFI_ERROR_OPERATION_ABORTED", TIZEN_ERROR_WIFI | 0x0304, "Operation is aborted "),
+       ERR_ENTRY("WIFI_ERROR_DHCP_FAILED", TIZEN_ERROR_WIFI | 0x0306, "DHCP failed"),
+       ERR_ENTRY("WIFI_ERROR_INVALID_KEY", TIZEN_ERROR_WIFI | 0x0307, "Invalid key"),
+       ERR_ENTRY("WIFI_ERROR_NO_REPLY", TIZEN_ERROR_WIFI | 0x0308, "No reply"),
+       ERR_ENTRY("WIFI_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_WIFI | 0x0309, "Restricted by security system policy"),
+#endif
+#if defined(TIZEN_ERROR_WIFI_DIRECT)
+       ERR_ENTRY("WIFI_DIRECT_ERROR_NOT_INITIALIZED", TIZEN_ERROR_WIFI_DIRECT | 0x01, "Not initialized"),
+       ERR_ENTRY("WIFI_DIRECT_ERROR_COMMUNICATION_FAILED", TIZEN_ERROR_WIFI_DIRECT | 0x02, "I/O error"),
+       ERR_ENTRY("WIFI_DIRECT_ERROR_WIFI_USED", TIZEN_ERROR_WIFI_DIRECT | 0x03, "WiFi is being used"),
+       ERR_ENTRY("WIFI_DIRECT_ERROR_MOBILE_AP_USED", TIZEN_ERROR_WIFI_DIRECT | 0x04, "Mobile AP is being used"),
+       ERR_ENTRY("WIFI_DIRECT_ERROR_CONNECTION_FAILED", TIZEN_ERROR_WIFI_DIRECT | 0x05, "Mobile AP is being used"),
+       ERR_ENTRY("WIFI_DIRECT_ERROR_AUTH_FAILED", TIZEN_ERROR_WIFI_DIRECT | 0x06, "Authentication failed"),
+       ERR_ENTRY("WIFI_DIRECT_ERROR_OPERATION_FAILED", TIZEN_ERROR_WIFI_DIRECT | 0x07, "Operation failed"),
+       ERR_ENTRY("WIFI_DIRECT_ERROR_TOO_MANY_CLIENT", TIZEN_ERROR_WIFI_DIRECT | 0x08, "Many client"),
+       ERR_ENTRY("WIFI_DIRECT_ERROR_ALREADY_INITIALIZED", TIZEN_ERROR_WIFI_DIRECT | 0x09, "Already initialized client"),
+       ERR_ENTRY("WIFI_DIRECT_ERROR_CONNECTION_CANCELED", TIZEN_ERROR_WIFI_DIRECT | 0x10, "Connection canceled by local device"),
+#endif
+#if defined(TIZEN_ERROR_KEY_MANAGER)
+       ERR_ENTRY("CKMC_ERROR_SOCKET", TIZEN_ERROR_KEY_MANAGER | 0x01, "Socket error between client and Central Key Manager"),
+       ERR_ENTRY("CKMC_ERROR_BAD_REQUEST", TIZEN_ERROR_KEY_MANAGER | 0x02, "Invalid request from client "),
+       ERR_ENTRY("CKMC_ERROR_BAD_RESPONSE", TIZEN_ERROR_KEY_MANAGER | 0x03, "Invalid response from Central Key Manager"),
+       ERR_ENTRY("CKMC_ERROR_SEND_FAILED", TIZEN_ERROR_KEY_MANAGER | 0x04, "Transmitting request failed"),
+       ERR_ENTRY("CKMC_ERROR_RECV_FAILED", TIZEN_ERROR_KEY_MANAGER | 0x05, "Receiving response failed"),
+       ERR_ENTRY("CKMC_ERROR_AUTHENTICATION_FAILED", TIZEN_ERROR_KEY_MANAGER | 0x06, "Authentication between client and manager failed"),
+       ERR_ENTRY("CKMC_ERROR_BUFFER_TOO_SMALL", TIZEN_ERROR_KEY_MANAGER | 0x07, "The output buffer size which is passed as parameter is too small"),
+       ERR_ENTRY("CKMC_ERROR_SERVER_ERROR", TIZEN_ERROR_KEY_MANAGER | 0x08, "Central Key Manager has been failed for some reason"),
+       ERR_ENTRY("CKMC_ERROR_DB_LOCKED", TIZEN_ERROR_KEY_MANAGER | 0x09, "The database was not unlocked - user did not login"),
+       ERR_ENTRY("CKMC_ERROR_DB_ERROR", TIZEN_ERROR_KEY_MANAGER | 0x0A, "An internal error inside the database"),
+       ERR_ENTRY("CKMC_ERROR_DB_ALIAS_EXISTS", TIZEN_ERROR_KEY_MANAGER | 0x0B, "Provided alias already exists in the database"),
+       ERR_ENTRY("CKMC_ERROR_DB_ALIAS_UNKNOWN", TIZEN_ERROR_KEY_MANAGER | 0x0C, "No data for given alias"),
+       ERR_ENTRY("CKMC_ERROR_VERIFICATION_FAILED", TIZEN_ERROR_KEY_MANAGER | 0x0D, "CA certificate(s) were unknown and chain could not be created"),
+       ERR_ENTRY("CKMC_ERROR_INVALID_FORMAT", TIZEN_ERROR_KEY_MANAGER | 0x0E, "A provided file doesn't exists or cannot be accessed in the file system"),
+       ERR_ENTRY("CKMC_ERROR_FILE_ACCESS_DENIED", TIZEN_ERROR_KEY_MANAGER | 0x0F, "A provided file or binary has not a valid format"),
+       ERR_ENTRY("CKMC_ERROR_NOT_EXPORTABLE", TIZEN_ERROR_KEY_MANAGER | 0x10, "Key is not exportable. It could not be returned to client"),
+       ERR_ENTRY("CKMC_ERROR_FILE_SYSTEM", TIZEN_ERROR_KEY_MANAGER | 0x11, "Save key\/certificate\/pkcs12 failed because of file system error"),
+       ERR_ENTRY("CKMC_ERROR_UNKNOWN", TIZEN_ERROR_KEY_MANAGER | 0xFF, "The error with unknown reason"),
+#endif
+#if defined(TIZEN_ERROR_CALENDAR)
+       ERR_ENTRY("CALENDAR_ERROR_DB_FAILED", TIZEN_ERROR_CALENDAR | 0x02, "No access to the database"),
+       ERR_ENTRY("CALENDAR_ERROR_ITERATOR_END", TIZEN_ERROR_CALENDAR | 0x04, "Iterator is on the last position"),
+       ERR_ENTRY("CALENDAR_ERROR_DB_RECORD_NOT_FOUND", TIZEN_ERROR_CALENDAR | 0x05, "Database not found"),
+       ERR_ENTRY("CALENDAR_ERROR_IPC", TIZEN_ERROR_CALENDAR | 0xBF, "Unknown IPC error"),
+       ERR_ENTRY("CALENDAR_ERROR_SYSTEM", TIZEN_ERROR_CALENDAR | 0xEF, "Error from another modules"),
+#endif
+#if defined(TIZEN_ERROR_CONTACTS)
+       ERR_ENTRY("CONTACTS_ERROR_DB_LOCKED", TIZEN_ERROR_CONTACTS | 0x81, "Database table locked or file locked"),
+       ERR_ENTRY("CONTACTS_ERROR_DB", TIZEN_ERROR_CONTACTS | 0x9F, "Unknown DB error"),
+       ERR_ENTRY("CONTACTS_ERROR_IPC_NOT_AVALIABLE", TIZEN_ERROR_CONTACTS | 0xB1, "IPC server is not available"),
+       ERR_ENTRY("CONTACTS_ERROR_IPC", TIZEN_ERROR_CONTACTS | 0xBF, "Unknown IPC error"),
+       ERR_ENTRY("CONTACTS_ERROR_SYSTEM", TIZEN_ERROR_CONTACTS | 0xEF, "Internal system module error"),
+       ERR_ENTRY("CONTACTS_ERROR_INTERNAL", TIZEN_ERROR_CONTACTS | 0xFF, "Implementation Error, Temporary Use"),
+#endif
+#if defined(TIZEN_ERROR_STORAGE)
+       ERR_ENTRY("STORAGE_ERROR_OPERATION_FAILED", TIZEN_ERROR_SYSTEM_CLASS | 0x12, "Operation failed"),
+#endif
+#if defined(TIZEN_ERROR_DEVICE)
+       ERR_ENTRY("DEVICE_ERROR_NOT_INITIALIZED", TIZEN_ERROR_DEVICE | 0x13, "Not initialized"),
+#endif
+#if defined(TIZEN_ERROR_DLOG)
+#endif
+#if defined(TIZEN_ERROR_MEDIA_KEY)
+       ERR_ENTRY("MEDIA_KEY_ERROR_OPERATION_FAILED", TIZEN_ERROR_MEDIA_KEY | 0x01, "Reserve/Release failed"),
+#endif
+#if defined(TIZEN_ERROR_RUNTIME_INFORMATION)
+#endif
+#if defined(TIZEN_ERROR_SENSOR)
+       ERR_ENTRY("SENSOR_ERROR_NOT_NEED_CALIBRATION", TIZEN_ERROR_SENSOR | 0x03, "Sensor doesn't need calibration"),
+       ERR_ENTRY("SENSOR_ERROR_OPERATION_FAILED", TIZEN_ERROR_SENSOR | 0x06, "Operation failed"),
+#endif
+#if defined(TIZEN_ERROR_SYSTEM_INFORMATION)
+#endif
+#if defined(TIZEN_ERROR_SYSTEM_SETTING)
+       ERR_ENTRY("SYSTEM_SETTINGS_ERROR_LOCKSCREEN_APP_PASSWORD_MODE", TIZEN_ERROR_SYSTEM_SETTING | 0x01, "Current lock screen app set 'password' type"),
+#endif
+#if defined(TIZEN_ERROR_SYSTEM_RESOURCE)
+#endif
+#if defined(TIZEN_ERROR_CONTEXT)
+       ERR_ENTRY("ACTIVITY_ERROR_ALREADY_STARTED", TIZEN_ERROR_CONTEXT | 0x01, "Recognition is already started"),
+       ERR_ENTRY("ACTIVITY_ERROR_NOT_STARTED", TIZEN_ERROR_CONTEXT | 0x02, "Recognition is not started"),
+       ERR_ENTRY("CONTEXT_HISTORY_ERROR_OUT_OF_RANGE", TIZEN_ERROR_CONTEXT | 0x03, "Out of range"),
+       ERR_ENTRY("ACTIVITY_ERROR_OPERATION_FAILED", TIZEN_ERROR_CONTEXT | 0x04, "Operation failed"),
+       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_ENABLED", TIZEN_ERROR_CONTEXT | 0x05, "Rule is enabled"),
+       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_ENABLED", TIZEN_ERROR_CONTEXT | 0x06, "Rule is not enabled"),
+       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_INVALID_RULE", TIZEN_ERROR_CONTEXT | 0x07, "Invalid rule"),
+       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_EXIST", TIZEN_ERROR_CONTEXT | 0x08, "Rule does not exist"),
+#endif
+#if defined(TIZEN_ERROR_TELEPHONY)
+       ERR_ENTRY("TELEPHONY_ERROR_OPERATION_FAILED", TIZEN_ERROR_TELEPHONY | 0x0001, "Operation failed"),
+       ERR_ENTRY("TELEPHONY_ERROR_SIM_NOT_AVAILABLE", TIZEN_ERROR_TELEPHONY | 0x1001, "SIM is not available"),
+#endif
+#if defined(TIZEN_ERROR_EFL_UTIL)
+       ERR_ENTRY("EFL_UTIL_ERROR_NOT_SUPPORTED_WINDOW_TYPE", TIZEN_ERROR_EFL_UTIL | 0x01, "Window type not supported"),
+       ERR_ENTRY("EFL_UTIL_ERROR_SCREENSHOT_INIT_FAIL", TIZEN_ERROR_EFL_UTIL | 0x02, "Screenshot initialization fail"),
+       ERR_ENTRY("EFL_UTIL_ERROR_SCREENSHOT_EXECUTION_FAIL", TIZEN_ERROR_EFL_UTIL | 0x03, "Screenshot execution fail"),
+#endif
+#if defined(TIZEN_ERROR_TBM)
+#endif
+#if defined(TIZEN_ERROR_DOWNLOAD)
+       ERR_ENTRY("DOWNLOAD_ERROR_INVALID_STATE", TIZEN_ERROR_DOWNLOAD | 0x21, "Invalid state"),
+       ERR_ENTRY("DOWNLOAD_ERROR_CONNECTION_FAILED", TIZEN_ERROR_DOWNLOAD | 0x22, "Connection failed"),
+       ERR_ENTRY("DOWNLOAD_ERROR_INVALID_URL", TIZEN_ERROR_DOWNLOAD | 0x24, "Invalid URL"),
+       ERR_ENTRY("DOWNLOAD_ERROR_INVALID_DESTINATION", TIZEN_ERROR_DOWNLOAD | 0x25, "Invalid destination"),
+       ERR_ENTRY("DOWNLOAD_ERROR_TOO_MANY_DOWNLOADS", TIZEN_ERROR_DOWNLOAD | 0x26, "Too many simultaneous downloads"),
+       ERR_ENTRY("DOWNLOAD_ERROR_QUEUE_FULL", TIZEN_ERROR_DOWNLOAD | 0x27, "Download server queue is full"),
+       ERR_ENTRY("DOWNLOAD_ERROR_ALREADY_COMPLETED", TIZEN_ERROR_DOWNLOAD | 0x28, "The download is already completed"),
+       ERR_ENTRY("DOWNLOAD_ERROR_FILE_ALREADY_EXISTS", TIZEN_ERROR_DOWNLOAD | 0x29, "Failed to rename the downloaded file"),
+       ERR_ENTRY("DOWNLOAD_ERROR_CANNOT_RESUME", TIZEN_ERROR_DOWNLOAD | 0x2a, "Cannot resume"),
+       ERR_ENTRY("DOWNLOAD_ERROR_FIELD_NOT_FOUND", TIZEN_ERROR_DOWNLOAD | 0x2b, "Specified field not found"),
+       ERR_ENTRY("DOWNLOAD_ERROR_TOO_MANY_REDIRECTS", TIZEN_ERROR_DOWNLOAD | 0x30, "Too many redirects from HTTP response header"),
+       ERR_ENTRY("DOWNLOAD_ERROR_UNHANDLED_HTTP_CODE", TIZEN_ERROR_DOWNLOAD | 0x31, "The download cannot handle the HTTP status value"),
+       ERR_ENTRY("DOWNLOAD_ERROR_REQUEST_TIMEOUT", TIZEN_ERROR_DOWNLOAD | 0x32, "No action after client creates a download ID"),
+       ERR_ENTRY("DOWNLOAD_ERROR_RESPONSE_TIMEOUT", TIZEN_ERROR_DOWNLOAD | 0x33, "No call to start API for some time although the download is created"),
+       ERR_ENTRY("DOWNLOAD_ERROR_SYSTEM_DOWN", TIZEN_ERROR_DOWNLOAD | 0x34, "No response from client after rebooting download daemon"),
+       ERR_ENTRY("DOWNLOAD_ERROR_ID_NOT_FOUND", TIZEN_ERROR_DOWNLOAD | 0x35, "Download ID does not exist in download service module"),
+       ERR_ENTRY("DOWNLOAD_ERROR_INVALID_NETWORK_TYPE", TIZEN_ERROR_DOWNLOAD | 0x36, "Network bonding is set but network type is not set as DOWNLOAD_NETWORK_ALL"),
+#endif
+#if defined(TIZEN_ERROR_WEBVIEW)
+#endif
+#if defined(TIZEN_ERROR_LOCATION_MANAGER)
+       ERR_ENTRY("LOCATIONS_ERROR_INCORRECT_METHOD", TIZEN_ERROR_LOCATION_MANAGER | 0x01, "Location manager contains incorrect method for a given call"),
+       ERR_ENTRY("LOCATIONS_ERROR_NETWORK_FAILED", TIZEN_ERROR_LOCATION_MANAGER | 0x02, "Network unavailable"),
+       ERR_ENTRY("LOCATIONS_ERROR_SERVICE_NOT_AVAILABLE", TIZEN_ERROR_LOCATION_MANAGER | 0x03, "Location service is not available"),
+       ERR_ENTRY("LOCATIONS_ERROR_GPS_SETTING_OFF", TIZEN_ERROR_LOCATION_MANAGER | 0x04, "GPS/WPS setting is not enabled"),
+       ERR_ENTRY("LOCATIONS_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_LOCATION_MANAGER | 0x05, "Restricted by security system policy"),
+       ERR_ENTRY("LOCATION_BOUNDS_ERROR_INCORRECT_TYPE", TIZEN_ERROR_LOCATION_MANAGER | 0x21, "Incorrect bounds type for a given call"),
+       ERR_ENTRY("LOCATION_BOUNDS_ERROR_IS_ADDED", TIZEN_ERROR_LOCATION_MANAGER | 0x22, "Cannot remove bounds handle from location manager"),
+#endif
+#if defined(TIZEN_ERROR_STT)
+       ERR_ENTRY("STT_ERROR_INVALID_STATE", TIZEN_ERROR_STT | 0x01, "Invalid state"),
+       ERR_ENTRY("STT_ERROR_INVALID_LANGUAGE", TIZEN_ERROR_STT | 0x02, "Invalid language"),
+       ERR_ENTRY("STT_ERROR_ENGINE_NOT_FOUND", TIZEN_ERROR_STT | 0x03, "No available engine"),
+       ERR_ENTRY("STT_ERROR_OPERATION_FAILED", TIZEN_ERROR_STT | 0x04, "Operation failed"),
+       ERR_ENTRY("STT_ERROR_NOT_SUPPORTED_FEATURE", TIZEN_ERROR_STT | 0x05, "Not supported feature of current engine"),
+#endif
+#if defined(TIZEN_ERROR_TTS)
+       ERR_ENTRY("TTS_ERROR_INVALID_STATE", TIZEN_ERROR_TTS | 0x01, "Invalid state"),
+       ERR_ENTRY("TTS_ERROR_INVALID_VOICE", TIZEN_ERROR_TTS | 0x02, "Invalid voice"),
+       ERR_ENTRY("TTS_ERROR_ENGINE_NOT_FOUND", TIZEN_ERROR_TTS | 0x03, "No available engine"),
+       ERR_ENTRY("TTS_ERROR_OPERATION_FAILED", TIZEN_ERROR_TTS | 0x04, "Operation failed"),
+       ERR_ENTRY("TTS_ERROR_AUDIO_POLICY_BLOCKED", TIZEN_ERROR_TTS | 0x05, "Audio policy blocked"),
+#endif
+#if defined(TIZEN_ERROR_SMARTCARD)
+       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"),
+       ERR_ENTRY("SMARTCARD_ERROR_ILLEGAL_STATE", TIZEN_ERROR_SMARTCARD | 0x03, "Illegal state of execution error"),
+       ERR_ENTRY("SMARTCARD_ERROR_ILLEGAL_REFERENCE", TIZEN_ERROR_SMARTCARD | 0x04, "Illegal reference"),
+       ERR_ENTRY("SMARTCARD_ERROR_OPERATION_NOT_SUPPORTED", TIZEN_ERROR_SMARTCARD | 0x05, "Operation not supported from SE"),
+       ERR_ENTRY("SMARTCARD_ERROR_CHANNEL_NOT_AVAILABLE", TIZEN_ERROR_SMARTCARD | 0x06, "No channel available"),
+       ERR_ENTRY("SMARTCARD_ERROR_NOT_INITIALIZED", TIZEN_ERROR_SMARTCARD | 0x07, "Smartcard service not initialized"),
+#endif
+#if defined(TIZEN_ERROR_HEALTH)
+       ERR_ENTRY("HEALTH_ERROR_DATA_TYPE_NOT_FOUND", TIZEN_ERROR_HEALTH | 0x01, "Maifest for the data type specified not found"),
+       ERR_ENTRY("HEALTH_ERROR_MANDATORY_DATA_REQURIED", TIZEN_ERROR_HEALTH | 0x02, "Mandatory property is missing"),
+       ERR_ENTRY("HEALTH_ERROR_INVALID_DATA", TIZEN_ERROR_HEALTH | 0x03, "Data is out of range or invalid type"),
+#endif
+#if defined(TIZEN_ERROR_VOICE_CONTROL)
+       ERR_ENTRY("VC_ERROR_INVALID_STATE", TIZEN_ERROR_VOICE_CONTROL | 0x011, "Invalid state"),
+       ERR_ENTRY("VC_ERROR_INVALID_LANGUAGE", TIZEN_ERROR_VOICE_CONTROL | 0x012, "Invalid language"),
+       ERR_ENTRY("VC_ERROR_ENGINE_NOT_FOUND", TIZEN_ERROR_VOICE_CONTROL | 0x013, "No available engine"),
+       ERR_ENTRY("VC_ERROR_OPERATION_FAILED", TIZEN_ERROR_VOICE_CONTROL | 0x014, "Operation failed"),
+       ERR_ENTRY("VC_ERROR_OPERATION_REJECTED", TIZEN_ERROR_VOICE_CONTROL | 0x015, "Operation rejected"),
+       ERR_ENTRY("VC_ERROR_ITERATION_END", TIZEN_ERROR_VOICE_CONTROL | 0x016, "List reached end"),
+       ERR_ENTRY("VC_ERROR_EMPTY", TIZEN_ERROR_VOICE_CONTROL | 0x017, "List empty"),
+       //voice ui control
+       ERR_ENTRY("VC_ELM_ERROR_INVALID_STATE", TIZEN_ERROR_VOICE_CONTROL | 0x021, " Invalid state"),
+       ERR_ENTRY("VC_ELM_ERROR_INVALID_LANGUAG", TIZEN_ERROR_VOICE_CONTROL | 0x022, "Invalid language"),
+       ERR_ENTRY("VC_ELM_ERROR_OPERATION_FAILED", TIZEN_ERROR_VOICE_CONTROL | 0x023, "Operation failed"),
+       ERR_ENTRY("VC_ELM_ERROR_OPERATION_REJECTED", TIZEN_ERROR_VOICE_CONTROL | 0x024, "Operation rejected"),
+#endif
+#if defined(TIZEN_ERROR_FEEDBACK)
+       ERR_ENTRY("FEEDBACK_ERROR_NOT_INITIALIZED", TIZEN_ERROR_FEEDBACK | 0x01, "Not initialized"),
+#endif
+#if defined(TIZEN_ERROR_EOM)
+       ERR_ENTRY("EOM_ERROR_CONNECTION_FAILURE", TIZEN_ERROR_EOM | 0x01, "Connection failure"),
+       ERR_ENTRY("EOM_ERROR_MESSAGE_SENDING_FAILURE", TIZEN_ERROR_EOM | 0x02, "Message sending failure"),
+       ERR_ENTRY("EOM_ERROR_MESSAGE_OPERATION_FAILURE", TIZEN_ERROR_EOM | 0x03, "Message operation failure"),
+#endif
+#if defined(TIZEN_ERROR_WIDGET)
+       ERR_ENTRY("WIDGET_ERROR_FAULT", TIZEN_ERROR_WIDGET | 0x0001, "Fault - Unable to recover from the error"),
+       ERR_ENTRY("WIDGET_ERROR_ALREADY_EXIST", TIZEN_ERROR_WIDGET | 0x0002, "Already exists"),
+       ERR_ENTRY("WIDGET_ERROR_ALREADY_STARTED", TIZEN_ERROR_WIDGET | 0x0004, "Operation is already started"),
+       ERR_ENTRY("WIDGET_ERROR_NOT_EXIST", TIZEN_ERROR_WIDGET | 0x0008, "Not exists"),
+       ERR_ENTRY("WIDGET_ERROR_DISABLED", TIZEN_ERROR_WIDGET | 0x00010, "Disabled"),
+#endif
+#if defined(TIZEN_ERROR_MINICONTROL)
+       ERR_ENTRY("MINICONTROL_ERROR_IPC_FAILURE", TIZEN_ERROR_MINICONTROL | 0x02, " IPC error"),
+       ERR_ENTRY("MINICONTROL_ERROR_ELM_FAILURE", TIZEN_ERROR_MINICONTROL | 0x03, " Some error occued on elementary"),
+#endif
+#if defined(TIZEN_ERROR_IME)
+       ERR_ENTRY("IME_ERROR_NO_CALLBACK_FUNCTION", TIZEN_ERROR_IME | 0x0001, "Necessary callback function is not set"),
+       ERR_ENTRY("IME_ERROR_NOT_RUNNING", TIZEN_ERROR_IME | 0x0002, "IME main loop isn't started yet "),
+       ERR_ENTRY("IME_ERROR_OPERATION_FAILED", TIZEN_ERROR_IME | 0x0003, "Operation failed"),
+       ERR_ENTRY("IME_MANAGER_ERROR_OPERATION_FAILED", TIZEN_ERROR_IME | 0x0010, "Operation failed"),
+#endif
+#if defined(TIZEN_ERROR_MAPS_SERVICE)
+       ERR_ENTRY("MAPS_ERROR_SERVICE_NOT_AVAILABLE", TIZEN_ERROR_MAPS_SERVICE | 0x01, "Service unavailable"),
+       ERR_ENTRY("MAPS_ERROR_NOT_FOUND", TIZEN_ERROR_MAPS_SERVICE | 0x02, "Result not found "),
+#endif
+#if defined(TIZEN_ERROR_GEOFENCE_MANAGER)
+       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_NOT_INITIALIZED", TIZEN_ERROR_GEOFENCE_MANAGER | 0x01, "Geofence Manager is not initialized"),
+       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_INVALID_ID", TIZEN_ERROR_GEOFENCE_MANAGER | 0x02, "Invalid Geofence ID"),
+       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_EXCEPTION", TIZEN_ERROR_GEOFENCE_MANAGER | 0x03, "exception is occurred"),
+       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_ALREADY_STARTED", TIZEN_ERROR_GEOFENCE_MANAGER | 0x04, "Geofence is already started"),
+       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_TOO_MANY_GEOFENCE", TIZEN_ERROR_GEOFENCE_MANAGER | 0x05, "Too many Geofence"),
+       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_IPC", TIZEN_ERROR_GEOFENCE_MANAGER | 0x06, "Error occurred in GPS/Wi-Fi/BT"),
+       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_DATABASE", TIZEN_ERROR_GEOFENCE_MANAGER | 0x07, "DB error occurred in the server side"),
+       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_PLACE_ACCESS_DENIED", TIZEN_ERROR_GEOFENCE_MANAGER | 0x08, "Access to specified place is denied"),
+       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_GEOFENCE_ACCESS_DENIED", TIZEN_ERROR_GEOFENCE_MANAGER | 0x09, "Access to specified geofence is denied"),
+#endif
+#if defined(TIZEN_ERROR_SYNC_MANAGER)
+       ERR_ENTRY("SYNC_ERROR_SYSTEM", TIZEN_ERROR_SYNC_MANAGER | 0x01, "System error"),
+       ERR_ENTRY("SYNC_ERROR_SYNC_ADAPTER_NOT_FOUND", TIZEN_ERROR_SYNC_MANAGER | 0x02, "Sync adater is not registered"),
+#endif
+#if defined(TIZEN_ERROR_SERVICE_ADAPTOR)
+       ERR_ENTRY("SERVICE_ADAPTOR_ERROR_IPC_UNSTABLE", TIZEN_ERROR_SERVICE_ADAPTOR | 0x01, "IPC Connection unstabled"),
+       ERR_ENTRY("SERVICE_ADAPTOR_ERROR_PLUGIN_FAILED", TIZEN_ERROR_SERVICE_ADAPTOR | 0x02, "The error occured from Plugin"),
+       ERR_ENTRY("SERVICE_ADAPTOR_ERROR_NOT_AUTHORIZED", TIZEN_ERROR_SERVICE_ADAPTOR | 0x03, "Need Autholization "),
+       ERR_ENTRY("SERVICE_ADAPTOR_ERROR_INVALID_STATE", TIZEN_ERROR_SERVICE_ADAPTOR | 0x04, "The handle state is invalid for processing API"),
+       ERR_ENTRY("SERVICE_ADAPTOR_ERROR_SYSTEM", TIZEN_ERROR_SERVICE_ADAPTOR | 0x05, "Internal system module error"),
+       ERR_ENTRY("SERVICE_ADAPTOR_ERROR_INTERNAL", TIZEN_ERROR_SERVICE_ADAPTOR | 0x06, "Implementation Error"),
+#endif
+#if defined(TIZEN_ERROR_ACCOUNT_OAUTH)
+       ERR_ENTRY("OAUTH2_ERROR_PARSE_FAILED", TIZEN_ERROR_ACCOUNT_OAUTH | 0x01, "Response parse failed"),
+       ERR_ENTRY("OAUTH2_ERROR_NETWORK_ERROR", TIZEN_ERROR_ACCOUNT_OAUTH | 0x02, "Network error"),
+       ERR_ENTRY("OAUTH2_ERROR_SERVER", TIZEN_ERROR_ACCOUNT_OAUTH | 0x03, "Server error"),
+       ERR_ENTRY("OAUTH2_ERROR_USER_CANCELLED", TIZEN_ERROR_ACCOUNT_OAUTH | 0x04, "User cancelled the operation"),
+       ERR_ENTRY("OAUTH2_ERROR_VALUE_NOT_FOUND", TIZEN_ERROR_ACCOUNT_OAUTH | 0x05, "Value not found"),
+#endif
+#if defined(TIZEN_ERROR_CONTEXT)
+       ERR_ENTRY("CONTEXT_HISTORY_ERROR_OUT_OF_RANGE", TIZEN_ERROR_CONTEXT | 0x03, "Out of range"),
+       ERR_ENTRY("CONTEXT_HISTORY_ERROR_OPERATION_FAILED", TIZEN_ERROR_CONTEXT | 0x04, "Operation failed"),
+#endif
+#if defined(TIZEN_ERROR_CONTEXT)
+       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_OPERATION_FAILED", TIZEN_ERROR_CONTEXT | 0x04, "Operation failed"),
+       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_ENABLED", TIZEN_ERROR_CONTEXT | 0x05, "Rule is enabled"),
+       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_ENABLED", TIZEN_ERROR_CONTEXT | 0x06, "Rule is not enabled"),
+       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_INVALID_RULE", TIZEN_ERROR_CONTEXT | 0x07, "Invalid rule"),
+       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_EXIST", TIZEN_ERROR_CONTEXT | 0x08, "Rule does not exist"),
+#endif
+#if defined(TIZEN_ERROR_MEDIA_VISION)
+       ERR_ENTRY("MEDIA_VISION_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_MEDIA_VISION | 0x01, "Not supported format"),
+       ERR_ENTRY("MEDIA_VISION_ERROR_INTERNAL", TIZEN_ERROR_MEDIA_VISION | 0x02, "Internal error"),
+       ERR_ENTRY("MEDIA_VISION_ERROR_INVALID_DATA", TIZEN_ERROR_MEDIA_VISION | 0x03, "Invalid data"),
+       ERR_ENTRY("MEDIA_VISION_ERROR_INVALID_PATH", TIZEN_ERROR_MEDIA_VISION | 0x04, "Invalid path"),
+#endif
+#if defined(TIZEN_ERROR_METADATA_EDITOR)
+       ERR_ENTRY("METADATA_EDITOR_ERROR_OPERATION_FAILED", TIZEN_ERROR_METADATA_EDITOR | 0x01, "Invalid internal operation"),
+#endif
+#if defined(TIZEN_ERROR_PHONENUMBER_UTILS)
+       ERR_ENTRY("PHONE_NUMBER_ERROR_SYSTEM", TIZEN_ERROR_PHONENUMBER_UTILS | 0xEF, "Internal error"),
+#endif
+#if defined(TIZEN_ERROR_PANEL)
+       ERR_ENTRY("SHARE_PANEL_ERROR_ALREADY_EXISTS", TIZEN_ERROR_PANEL | 0x01, "There is already a panel in the conformant"),
+       ERR_ENTRY("SHARE_PANEL_ERROR_NOT_INITIALIZED", TIZEN_ERROR_PANEL | 0x02, "The panel is not initialized yet"),
+       ERR_ENTRY("SHARE_PANEL_ERROR_INVALID_OPERATION", TIZEN_ERROR_PANEL | 0x03, "Not supported content category"),
+       ERR_ENTRY("ATTACH_PANEL_ERROR_ALREADY_DESTROYED", TIZEN_ERROR_PANEL | 0x05, "The panel is already removed"),
+#endif
+#if defined(TIZEN_ERROR_IOTCON)
+       ERR_ENTRY("IOTCON_ERROR_IOTIVITY", TIZEN_ERROR_IOTCON | 0x01, "Internal error"),
+       ERR_ENTRY("IOTCON_ERROR_REPRESENTATION", TIZEN_ERROR_IOTCON | 0x02, "Representation errors"),
+       ERR_ENTRY("IOTCON_ERROR_INVALID_TYPE", TIZEN_ERROR_IOTCON | 0x03, "Invalid type"),
+       ERR_ENTRY("IOTCON_ERROR_ALREADY", TIZEN_ERROR_IOTCON | 0x04, "Already"),
+       ERR_ENTRY("IOTCON_ERROR_DBUS", TIZEN_ERROR_IOTCON | 0x05, "D-Bus errors"),
+       ERR_ENTRY("IOTCON_ERROR_SYSTEM", TIZEN_ERROR_IOTCON | 0x06, "System errors"),
+#endif
+#if defined(TIZEN_ERROR_MEDIA_STREAMER)
+       ERR_ENTRY("MEDIA_STREAMER_ERROR_INVALID_STATE", TIZEN_ERROR_MEDIA_STREAMER | 0x01, "Invalid state"),
+       ERR_ENTRY("MEDIA_STREAMER_ERROR_CONNECTION_FAILED", TIZEN_ERROR_MEDIA_STREAMER | 0x02, "Connection failed"),
+       ERR_ENTRY("MEDIA_STREAMER_ERROR_RESOURCE_CONFLICT", TIZEN_ERROR_MEDIA_STREAMER | 0x03, "Resource conflict"),
+       ERR_ENTRY("MEDIA_STREAMER_ERROR_SEEK_FAILED", TIZEN_ERROR_MEDIA_STREAMER | 0x04, "Seek operation failure"),
+#endif
+#if defined(TIZEN_ERROR_MEDIA_DEMUXER)
+       ERR_ENTRY("MEDIA_STREAMER_ERROR_INVALID_STATE", TIZEN_ERROR_MEDIA_DEMUXER | 0x01, "Invalid state"),
+       ERR_ENTRY("MEDIADEMUXER_ERROR_INVALID_PATH", TIZEN_ERROR_MEDIA_DEMUXER | 0x02, "Invalid path"),
+       ERR_ENTRY("MEDIADEMUXER_ERROR_RESOURCE_LIMIT", TIZEN_ERROR_MEDIA_DEMUXER | 0x03, "Resource limit"),
+       ERR_ENTRY("MEDIADEMUXER_ERROR_SEEK_FAILED", TIZEN_ERROR_MEDIA_DEMUXER | 0x04, "Seek operation failure"),
+       ERR_ENTRY("MEDIADEMUXER_ERROR_DRM_NOT_PERMITTED", TIZEN_ERROR_MEDIA_DEMUXER | 0x05, "Not permitted format"),
+#endif
+#if defined(TIZEN_ERROR_MEDIA_MUXER)
+       ERR_ENTRY("MEDIAMUXER_ERROR_INVALID_STATE", TIZEN_ERROR_MEDIA_DEMUXER | 0x01, "Invalid state"),
+       ERR_ENTRY("MEDIAMUXER_ERROR_INVALID_PATH", TIZEN_ERROR_MEDIA_MUXER | 0x02, "Invalid path"),
+       ERR_ENTRY("MEDIAMUXER_ERROR_RESOURCE_LIMIT", TIZEN_ERROR_MEDIA_MUXER | 0x03, "Resource limit"),
+#endif
+       {0, NULL, NULL}
+};
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /**<__TIZEN_COMMON_ERROR_PRIVATE_H__ */
index b8e8c11f644af649933304ac8e3b024d869a24e1..1fd722b2b7b0f155f7e741ab33b0db1a2cf76243 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 #include "tizen.h"
+#include "private/tizen_error_private.h"
 
 /* END of Tizen Platoform Error */
 #define TIZEN_ERROR_MIN_PLATFORM_MODULE -0x0FFFFFFF
 
-#define ERR_ENTRY(name, value, msg) {value, name, msg}
-
-typedef struct tizen_err_info {
-       int value;
-       const char *name;
-       const char *msg;
-} err_info;
-
-static err_info err_list[] = {
-       ERR_ENTRY("TIZEN_ERROR_UNKNOWN", TIZEN_ERROR_UNKNOWN, "Unknown error"),
-       ERR_ENTRY("TIZEN_ERROR_TIMED_OUT", TIZEN_ERROR_TIMED_OUT, "Time out"),
-       ERR_ENTRY("TIZEN_ERROR_NOT_SUPPORTED", TIZEN_ERROR_NOT_SUPPORTED, "Not supported"),
-       ERR_ENTRY("TIZEN_ERROR_USER_NOT_CONSENTED", TIZEN_ERROR_USER_NOT_CONSENTED, "Not consented"),
-#if defined(TIZEN_ERROR_ACCOUNT)
-       ERR_ENTRY("ACCOUNT_ERROR_DUPLICATED", TIZEN_ERROR_ACCOUNT | 0x01, "Same user name exists in your application"),
-       ERR_ENTRY("ACCOUNT_ERROR_RECORD_NOT_FOUND", TIZEN_ERROR_ACCOUNT | 0x03, "Related record does not exist"),
-       ERR_ENTRY("ACCOUNT_ERROR_DB_FAILED", TIZEN_ERROR_ACCOUNT | 0x04, "DB operation failed"),
-       ERR_ENTRY("ACCOUNT_ERROR_DB_NOT_OPENED", TIZEN_ERROR_ACCOUNT | 0x05, "DB is not connected"),
-       ERR_ENTRY("ACCOUNT_ERROR_QUERY_SYNTAX_ERROR", TIZEN_ERROR_ACCOUNT | 0x06, "DB query syntax error"),
-       ERR_ENTRY("ACCOUNT_ERROR_ITERATOR_END", TIZEN_ERROR_ACCOUNT | 0x07, "Iterator has reached the end"),
-       ERR_ENTRY("ACCOUNT_ERROR_NOTI_FAILED", TIZEN_ERROR_ACCOUNT | 0x08, "Notification failed"),
-       ERR_ENTRY("ACCOUNT_ERROR_XML_PARSE_FAILED", TIZEN_ERROR_ACCOUNT | 0x0a, "XML parse failed"),
-       ERR_ENTRY("ACCOUNT_ERROR_XML_FILE_NOT_FOUND", TIZEN_ERROR_ACCOUNT | 0x0b, "XML file does not exist "),
-       ERR_ENTRY("ACCOUNT_ERROR_EVENT_SUBSCRIPTION_FAIL", TIZEN_ERROR_ACCOUNT | 0x0c, "Subscription failed "),
-       ERR_ENTRY("ACCOUNT_ERROR_NOT_REGISTERED_PROVIDER", TIZEN_ERROR_ACCOUNT | 0x0d, "Account provider is not registered"),
-       ERR_ENTRY("ACCOUNT_ERROR_NOT_ALLOW_MULTIPLE", TIZEN_ERROR_ACCOUNT | 0x0e, "Multiple accounts are not supported"),
-       ERR_ENTRY("ACCOUNT_ERROR_DATABASE_BUSY", TIZEN_ERROR_ACCOUNT | 0x10, "SQLite busy handler expired"),
-#endif
-#if defined(TIZEN_ERROR_APPLICATION)
-       ERR_ENTRY("APP_ERROR_INVALID_CONTEXT", TIZEN_ERROR_APPLICATION | 0x01, "Invalid application context"),
-       ERR_ENTRY("ALARM_ERROR_INVALID_TIME", TIZEN_ERROR_APPLICATION | 0x05, "Invalid time"),
-       ERR_ENTRY("ALARM_ERROR_INVALID_DATE", TIZEN_ERROR_APPLICATION | 0x06, "Invalid date"),
-       ERR_ENTRY("ALARM_ERROR_CONNECTION_FAIL", TIZEN_ERROR_APPLICATION | 0x07, "The alarm service connection failed"),
-       ERR_ENTRY("ALARM_ERROR_NOT_PERMITTED_APP", TIZEN_ERROR_APPLICATION | 0x08, "Application is not permitted"),
-       ERR_ENTRY("APP_CONTROL_ERROR_APP_NOT_FOUND", TIZEN_ERROR_APPLICATION | 0x21, "The application is not found"),
-       ERR_ENTRY("APP_CONTROL_ERROR_INVALID_DATA_TYPE", TIZEN_ERROR_APPLICATION | 0x22, "Invalid data type"),
-       ERR_ENTRY("APP_CONTROL_ERROR_LAUNCH_REJECTED", TIZEN_ERROR_APPLICATION | 0x23, "The application cannot be launched now"),
-       ERR_ENTRY("APP_CONTROL_ERROR_LAUNCH_FAILED", TIZEN_ERROR_APPLICATION | 0x24, "Internal launch error"),
-       ERR_ENTRY("PREFERENCE_ERROR_NO_KEY", TIZEN_ERROR_APPLICATION | 0x30, "Required key not available"),
-#endif
-#if defined(TIZEN_ERROR_APPLICATION_MANAGER)
-       ERR_ENTRY("APP_MANAGER_ERROR_NO_SUCH_APP", TIZEN_ERROR_APPLICATION_MANAGER | 0x01, "No such application"),
-       ERR_ENTRY("APP_MANAGER_ERROR_DB_FAILED", TIZEN_ERROR_APPLICATION_MANAGER | 0x03, "Database error"),
-       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"),
-#endif
-#if defined(TIZEN_ERROR_BADGE)
-       ERR_ENTRY("BADGE_ERROR_FROM_DB", TIZEN_ERROR_BADGE | 0x01, "Error from DB"),
-       ERR_ENTRY("BADGE_ERROR_ALREADY_EXIST", TIZEN_ERROR_BADGE | 0x02, "Already exist"),
-       ERR_ENTRY("BADGE_ERROR_FROM_DBUS", TIZEN_ERROR_BADGE | 0x03, "Error from DBus"),
-       ERR_ENTRY("BADGE_ERROR_NOT_EXIST", TIZEN_ERROR_BADGE | 0x04, "Not exist"),
-       ERR_ENTRY("BADGE_ERROR_SERVICE_NOT_READY", TIZEN_ERROR_BADGE | 0x05, "Error service not ready"),
-#endif
-#if defined(TIZEN_ERROR_MESSAGE_PORT)
-       ERR_ENTRY("MESSAGE_PORT_ERROR_PORT_NOT_FOUND", TIZEN_ERROR_MESSAGE_PORT | 0x01, "The message port of the remote application is not found"),
-       ERR_ENTRY("MESSAGE_PORT_ERROR_CERTIFICATE_NOT_MATCH", TIZEN_ERROR_MESSAGE_PORT | 0x02, "The remote application is not signed with the same certificate"),
-       ERR_ENTRY("MESSAGE_PORT_ERROR_MAX_EXCEEDED", TIZEN_ERROR_MESSAGE_PORT | 0x03, "The size of the message has exceeded the maximum limit"),
-       ERR_ENTRY("MESSAGE_PORT_ERROR_RESOURCE_UNAVAILABLE", TIZEN_ERROR_MESSAGE_PORT | 0x04, "Resource is temporarily unavailable"),
-#endif
-#if defined(TIZEN_ERROR_NOTIFICATION)
-       ERR_ENTRY("NOTIFICATION_ERROR_FROM_DB", TIZEN_ERROR_NOTIFICATION | 0x01, "Error from DB"),
-       ERR_ENTRY("NOTIFICATION_ERROR_ALREADY_EXIST_ID", TIZEN_ERROR_NOTIFICATION | 0x02, "Already exist private ID"),
-       ERR_ENTRY("NOTIFICATION_ERROR_FROM_DBUS", TIZEN_ERROR_NOTIFICATION | 0x03, "Error from DBus"),
-       ERR_ENTRY("NOTIFICATION_ERROR_NOT_EXIST_ID", TIZEN_ERROR_NOTIFICATION | 0x04, "Not exist private ID "),
-       ERR_ENTRY("NOTIFICATION_ERROR_SERVICE_NOT_READY", TIZEN_ERROR_NOTIFICATION | 0x05, "No reponse from notification service"),
-#endif
-
-#if defined(TIZEN_ERROR_PACKAGE_MANAGER)
-       ERR_ENTRY("PACKAGE_MANAGER_ERROR_NO_SUCH_PACKAGE", TIZEN_ERROR_PACKAGE_MANAGER | 0x71, "No such package"),
-       ERR_ENTRY("PACKAGE_MANAGER_ERROR_SYSTEM_ERROR", TIZEN_ERROR_PACKAGE_MANAGER | 0x72, "Severe system error "),
-#endif
-
-#if defined(TIZEN_ERROR_SHORTCUT)
-       ERR_ENTRY("SHORTCUT_ERROR_NO_SPACE", TIZEN_ERROR_SHORTCUT | 0x0001, "There is no space to add a new shortcut"),
-       ERR_ENTRY("SHORTCUT_ERROR_EXIST", TIZEN_ERROR_SHORTCUT | 0x0002, "Shortcut is already added"),
-       ERR_ENTRY("SHORTCUT_ERROR_FAULT", TIZEN_ERROR_SHORTCUT | 0x0004, "Failed to add a shortcut. Unrecoverable error"),
-       ERR_ENTRY("SHORTCUT_ERROR_COMM", TIZEN_ERROR_SHORTCUT | 0x0040, "Connection is not established. or there is a problem in the communication"),
-#endif
-#if defined(TIZEN_ERROR_BUNDLE)
-       ERR_ENTRY("BUNDLE_ERROR_KEY_EXISTS", TIZEN_ERROR_BUNDLE | 0x01, "Key exists"),
-#endif
-#if defined(TIZEN_ERROR_DATA_CONTROL)
-       ERR_ENTRY("DATA_CONTROL_ERROR_MAX_EXCEEDED", TIZEN_ERROR_DATA_CONTROL | 0x01, "Too long argument"),
-#endif
-#if defined(TIZEN_ERROR_SERVICE_APPLICATION)
-#endif
-#if defined(TIZEN_ERROR_UTILITY_ICU)
-       ERR_ENTRY("I18N_ERROR_MISSING_RESOURCE", TIZEN_ERROR_UTILITY_ICU | 0x01, "The requested resource cannot be found"),
-       ERR_ENTRY("I18N_ERROR_INVALID_FORMAT", TIZEN_ERROR_UTILITY_ICU | 0x02, "Data format is not what is expected "),
-       ERR_ENTRY("I18N_ERROR_FILE_ACCESS", TIZEN_ERROR_UTILITY_ICU | 0x03, "The requested file cannot be found"),
-       ERR_ENTRY("I18N_ERROR_INTERNAL_PROGRAM", TIZEN_ERROR_UTILITY_ICU | 0x04, "Indicates a bug in the library code"),
-       ERR_ENTRY("I18N_ERROR_INDEX_OUTOFBOUNDS", TIZEN_ERROR_UTILITY_ICU | 0x05, "Trying to access the index that is out of bounds"),
-       ERR_ENTRY("I18N_ERROR_INVALID_CHAR_FOUND", TIZEN_ERROR_UTILITY_ICU | 0x6, "Character conversion: Unmappable input sequence. In other APIs: Invalid character"),
-       ERR_ENTRY("I18N_ERROR_BUFFER_OVERFLOW", TIZEN_ERROR_UTILITY_ICU | 0x07, "A result would not fit in the supplied buffer"),
-       ERR_ENTRY("I18N_ERROR_COLLATOR_VERSION_MISMATCH", TIZEN_ERROR_UTILITY_ICU | 0x08, "Collator version is not compatible with the base version"),
-       ERR_ENTRY("I18N_ERROR_USELESS_COLLATOR", TIZEN_ERROR_UTILITY_ICU | 0x09, "Collator is options only and no base is specified"),
-       ERR_ENTRY("I18N_ERROR_NO_WRITE_PERMISSION", TIZEN_ERROR_UTILITY_ICU | 0x0A, "Attempt to modify read-only or constant data"),
-       ERR_ENTRY("I18N_ERROR_RESOURCE_TYPE_MISMATCH", TIZEN_ERROR_UTILITY_ICU | 0x0B, "An operation is requested over a resource that does not support it"),
-       ERR_ENTRY("I18N_ERROR_TOO_MANY_ALIASES", TIZEN_ERROR_UTILITY_ICU | 0x0C, "Too many aliases in the path to the requested resource"),
-
-       ERR_ENTRY("I18N_ERROR_MESSAGE_PARSE", TIZEN_ERROR_UTILITY_ICU | 0x0D, "Unable to parse a message (message format)"),
-       ERR_ENTRY("I18N_ERROR_PARSE", TIZEN_ERROR_UTILITY_ICU | 0x0E, "Equivalent to Java ParseException"),
-       ERR_ENTRY("I18N_ERROR_TRUNCATED_CHAR_FOUND", TIZEN_ERROR_UTILITY_ICU | 0x0F, "Character conversion: Incomplete input sequence"),
-       ERR_ENTRY("I18N_ERROR_ILLEGAL_CHAR_FOUND", TIZEN_ERROR_UTILITY_ICU | 0x10, "Character conversion: Illegal input sequence/combination of input units"),
-       ERR_ENTRY("I18N_ERROR_INVALID_TABLE_FORMAT", TIZEN_ERROR_UTILITY_ICU | 0x11, "Conversion table file found, but corrupted"),
-       ERR_ENTRY("I18N_ERROR_INVALID_TABLE_FILE", TIZEN_ERROR_UTILITY_ICU | 0x12, "Conversion table file not found"),
-       ERR_ENTRY("I18N_ERROR_ILLECAL_ESCAPE_SEQUENCE", TIZEN_ERROR_UTILITY_ICU | 0x13, "ISO-2022 illlegal escape sequence"),
-       ERR_ENTRY("I18N_ERROR_UNSUPPORTED_ESCAPE_SEQUENCE", TIZEN_ERROR_UTILITY_ICU | 0x14, "ISO-2022 unsupported escape sequence"),
-       ERR_ENTRY("I18N_ERROR_NO_SPACE_AVAILABLE", TIZEN_ERROR_UTILITY_ICU | 0x15, "No space available for in-buffer expansion for Arabic shaping"),
-       ERR_ENTRY("I18N_ERROR_CE_NOT_FOUND", TIZEN_ERROR_UTILITY_ICU | 0x16, "Currently used only while setting variable top, but can be used generally"),
-       ERR_ENTRY("I18N_ERROR_PRIMARY_TOO_LONG", TIZEN_ERROR_UTILITY_ICU | 0x17, "User tried to set variable top to a primary that is longer than two bytes"),
-       ERR_ENTRY("I18N_ERROR_STATE_TOO_OLD", TIZEN_ERROR_UTILITY_ICU | 0x18, "ICU cannot construct a service from this state, as it is no longer supported"),
-       ERR_ENTRY("I18N_ERROR_ENUM_OUT_OF_SYNC", TIZEN_ERROR_UTILITY_ICU | 0x19, "UEnumeration out of sync with underlying collection"),
-       ERR_ENTRY("I18N_ERROR_INVARIANT_CONVERSION", TIZEN_ERROR_UTILITY_ICU | 0x1A, "Unable to convert a UChar* string to char* with the invariant converter"),
-       ERR_ENTRY("I18N_ERROR_INVALID_STATE", TIZEN_ERROR_UTILITY_ICU | 0x1B, "Requested operation can not be completed with ICU in its current state"),
-       ERR_ENTRY("I18N_ERROR_MALFORMED_SET", TIZEN_ERROR_UTILITY_ICU | 0x1C, "A UnicodeSet pattern is invalid. @if MOBILE"),
-       ERR_ENTRY("I18N_WARNING_STRING_NOT_TERMINATED", TIZEN_ERROR_UTILITY_ICU | 0x1D, "String not terminated with NULL. @if MOBILE"),
-       ERR_ENTRY("I18N_ERROR_STD3_ASCII_RULES", TIZEN_ERROR_UTILITY_ICU | 0x1E, "Argument does not satisfy STD3 rules"),
-       ERR_ENTRY("I18N_ERROR_UNASSIGNED", TIZEN_ERROR_UTILITY_ICU | 0x1F, "Unassigned code points are found"),
-       ERR_ENTRY("I18N_WARNING_SORT_KEY_TOO_SHORT", TIZEN_ERROR_UTILITY_ICU | 0x20, "Number of levels requested in getBound is higher than the number of levels in the sort key"),
-
-#endif
-#if defined(TIZEN_ERROR_MIME_TYPE)
-#endif
-#if defined(TIZEN_ERROR_MEDIA_CONTENT)
-       ERR_ENTRY("MEDIA_CONTENT_ERROR_DB_FAILED", TIZEN_ERROR_MEDIA_CONTENT | 0x01, "DB operation failed "),
-       ERR_ENTRY("MEDIA_CONTENT_ERROR_DB_BUSY", TIZEN_ERROR_MEDIA_CONTENT | 0x02, "DB operation BUSY"),
-       ERR_ENTRY("MEDIA_CONTENT_ERROR_NETWORK", TIZEN_ERROR_MEDIA_CONTENT | 0x03, "Network Fail"),
-       ERR_ENTRY("MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT", TIZEN_ERROR_MEDIA_CONTENT | 0x04, "Unsupported content "),
-#endif
-#if defined(TIZEN_ERROR_EMAIL_SERVICE)
-       ERR_ENTRY("EMAILS_ERROR_SERVER_NOT_READY", TIZEN_ERROR_EMAIL_SERVICE | 0x200, "Server not ready"),
-       ERR_ENTRY("EMAILS_ERROR_COMMUNICATION_WITH_SERVER_FAILED", TIZEN_ERROR_EMAIL_SERVICE | 0x201, "Communication with server failed"),
-       ERR_ENTRY("EMAILS_ERROR_OPERATION_FAILED", TIZEN_ERROR_EMAIL_SERVICE | 0x202, "Operation failed"),
-       ERR_ENTRY("EMAILS_ERROR_ACCOUNT_NOT_FOUND", TIZEN_ERROR_EMAIL_SERVICE | 0x203, "Email account not found"),
-       ERR_ENTRY("EMAILS_ERROR_DB_FAILED", TIZEN_ERROR_EMAIL_SERVICE | 0x204, "Email database failed"),
-#endif
-#if defined(TIZEN_ERROR_MESSAGING_SERVICE)
-       ERR_ENTRY("MESSAGES_ERROR_SERVER_NOT_READY", TIZEN_ERROR_MESSAGING_SERVICE | 0x501, "Server is not read"),
-       ERR_ENTRY("MESSAGES_ERROR_COMMUNICATION_WITH_SERVER_FAILED", TIZEN_ERROR_MESSAGING_SERVICE | 0x502, "Communication with server failed"),
-       ERR_ENTRY("MESSAGES_ERROR_OUT_OF_RANGE", TIZEN_ERROR_MESSAGING_SERVICE | 0x503, "Index out of range"),
-       ERR_ENTRY("MESSAGES_ERROR_SENDING_FAILED", TIZEN_ERROR_MESSAGING_SERVICE | 0x504, "Sending a message failed"),
-       ERR_ENTRY("MESSAGES_ERROR_OPERATION_FAILED", TIZEN_ERROR_MESSAGING_SERVICE | 0x505, "Messaging operation failed"),
-       ERR_ENTRY("MESSAGES_ERROR_NO_SIM_CARD", TIZEN_ERROR_MESSAGING_SERVICE | 0x506, "No SIM Card"),
-       ERR_ENTRY("MESSAGES_ERROR_NO_DATA", TIZEN_ERROR_MESSAGING_SERVICE | 0x507, "No data available"),
-#endif
-#if defined(TIZEN_ERROR_PUSH)
-#endif
-#if defined(TIZEN_ERROR_AUDIO_IO)
-       ERR_ENTRY("AUDIO_IO_ERROR_DEVICE_NOT_OPENED", TIZEN_ERROR_AUDIO_IO | 0x01, "Device open error"),
-       ERR_ENTRY("AUDIO_IO_ERROR_DEVICE_NOT_CLOSED", TIZEN_ERROR_AUDIO_IO | 0x02, "Device close error"),
-       ERR_ENTRY("AUDIO_IO_ERROR_INVALID_BUFFER", TIZEN_ERROR_AUDIO_IO | 0x03, "Invalid buffer pointer"),
-       ERR_ENTRY("AUDIO_IO_ERROR_SOUND_POLICY", TIZEN_ERROR_AUDIO_IO | 0x04, "Sound policy error"),
-       ERR_ENTRY("AUDIO_IO_ERROR_INVALID_STATE", TIZEN_ERROR_AUDIO_IO | 0x05, "Invalid statea"),
-       ERR_ENTRY("AUDIO_IO_ERROR_NOT_SUPPORTED_TYPE", TIZEN_ERROR_AUDIO_IO | 0x06, "Not supported stream type"),
-#endif
-#if defined(TIZEN_ERROR_CAMERA)
-       ERR_ENTRY("CAMERA_ERROR_INVALID_STATE", TIZEN_ERROR_CAMERA | 0x02, "Invalid state"),
-       ERR_ENTRY("CAMERA_ERROR_DEVICE", TIZEN_ERROR_CAMERA | 0x04, "Device error"),
-       ERR_ENTRY("CAMERA_ERROR_SOUND_POLICY", TIZEN_ERROR_CAMERA | 0x06, "Blocked by Audio Session Manager"),
-       ERR_ENTRY("CAMERA_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_CAMERA | 0x07, "Restricted by security system policy"),
-       ERR_ENTRY("CAMERA_ERROR_DEVICE_BUSY", TIZEN_ERROR_CAMERA | 0x08, "The device is using another application or working on some operation"),
-       ERR_ENTRY("CAMERA_ERROR_DEVICE_NOT_FOUND", TIZEN_ERROR_CAMERA | 0x09, "No camera device "),
-       ERR_ENTRY("CAMERA_ERROR_SOUND_POLICY_BY_CALL", TIZEN_ERROR_CAMERA | 0x0a, "Blocked by Audio Session Manager - CALL"),
-       ERR_ENTRY("CAMERA_ERROR_SOUND_POLICY_BY_ALARM", TIZEN_ERROR_CAMERA | 0x0b, "Blocked by Audio Session Manager - ALARM"),
-       ERR_ENTRY("CAMERA_ERROR_ESD", TIZEN_ERROR_CAMERA | 0x0c, "ESD situation"),
-       ERR_ENTRY("CAMERA_ERROR_RESOURCE_CONFLICT", TIZEN_ERROR_CAMERA | 0x0d, "Blocked by resource conflict"),
-
-#endif
-#if defined(TIZEN_ERROR_IMAGE_UTIL)
-       ERR_ENTRY("IMAGE_UTIL_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_IMAGE_UTIL | 0x01, "Not supported format"),
-#endif
-#if defined(TIZEN_ERROR_METADATA_EXTRACTOR)
-       ERR_ENTRY("METADATA_EXTRACTOR_ERROR_OPERATION_FAILED", TIZEN_ERROR_METADATA_EXTRACTOR | 0x01, "Invalid internal operation"),
-#endif
-#if defined(TIZEN_ERROR_PLAYER)
-       ERR_ENTRY("PLAYER_ERROR_SEEK_FAILED", TIZEN_ERROR_PLAYER | 0x21, "Seek operation failure"),
-       ERR_ENTRY("PLAYER_ERROR_INVALID_STATE", TIZEN_ERROR_PLAYER | 0x22, "Invalid state"),
-       ERR_ENTRY("PLAYER_ERROR_NOT_SUPPORTED_FILE", TIZEN_ERROR_PLAYER | 0x23, "File format not supported"),
-       ERR_ENTRY("PLAYER_ERROR_INVALID_URI", TIZEN_ERROR_PLAYER | 0x24, "Invalid URI"),
-       ERR_ENTRY("PLAYER_ERROR_SOUND_POLICY", TIZEN_ERROR_PLAYER | 0x25, "Sound policy error "),
-       ERR_ENTRY("PLAYER_ERROR_CONNECTION_FAILED", TIZEN_ERROR_PLAYER | 0x26, "Streaming connection failed"),
-       ERR_ENTRY("PLAYER_ERROR_VIDEO_CAPTURE_FAILED", TIZEN_ERROR_PLAYER | 0x27, "Video capture failed"),
-       ERR_ENTRY("PLAYER_ERROR_DRM_EXPIRED", TIZEN_ERROR_PLAYER | 0x28, "Expired license"),
-       ERR_ENTRY("PLAYER_ERROR_DRM_NO_LICENSE", TIZEN_ERROR_PLAYER | 0x29, "No license "),
-       ERR_ENTRY("PLAYER_ERROR_DRM_FUTURE_USE", TIZEN_ERROR_PLAYER | 0x2a, "License for future use"),
-       ERR_ENTRY("PLAYER_ERROR_DRM_NOT_PERMITTED", TIZEN_ERROR_PLAYER | 0x2b, "Format not permitted"),
-       ERR_ENTRY("PLAYER_ERROR_RESOURCE_LIMIT", TIZEN_ERROR_PLAYER | 0x2c, "Resource limit"),
-       ERR_ENTRY("PLAYER_ERROR_SERVICE_DISCONNECTED", TIZEN_ERROR_PLAYER | 0x2d, "Socket connection lost"),
-
-#endif
-#if defined(TIZEN_ERROR_RECORDER)
-       ERR_ENTRY("RECORDER_ERROR_INVALID_STATE", TIZEN_ERROR_RECORDER | 0x12, "Invalid state"),
-       ERR_ENTRY("RECORDER_ERROR_DEVICE", TIZEN_ERROR_RECORDER | 0x14, "Device error "),
-       ERR_ENTRY("RECORDER_ERROR_SOUND_POLICY", TIZEN_ERROR_RECORDER | 0x16, "Blocked by Audio Session Manager"),
-       ERR_ENTRY("RECORDER_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_RECORDER | 0x17, "Restricted by security system policy"),
-       ERR_ENTRY("RECORDER_ERROR_SOUND_POLICY_BY_CALL", TIZEN_ERROR_RECORDER | 0x18, "Blocked by Audio Session Manager - CALL"),
-       ERR_ENTRY("RECORDER_ERROR_SOUND_POLICY_BY_ALARM", TIZEN_ERROR_RECORDER | 0x19, "Blocked by Audio Session Manager - ALARM"),
-       ERR_ENTRY("RECORDER_ERROR_ESD", TIZEN_ERROR_RECORDER | 0x1a, "ESD situation"),
-       ERR_ENTRY("RECORDER_ERROR_OUT_OF_STORAGE", TIZEN_ERROR_RECORDER | 0x1b, "Out of storage"),
-       ERR_ENTRY("RECORDER_ERROR_RESOURCE_CONFLICT", TIZEN_ERROR_RECORDER | 0x1c, "Blocked by resource conflict"),
-#endif
-#if defined(TIZEN_ERROR_SOUND_MANAGER)
-
-       ERR_ENTRY("SOUND_MANAGER_ERROR_INTERNAL", TIZEN_ERROR_SOUND_MANAGER | 0x01, "Internal error inside the sound system"),
-       ERR_ENTRY("SOUND_MANAGER_ERROR_POLICY", TIZEN_ERROR_SOUND_MANAGER | 0x02, "Noncompliance with the sound system policy"),
-       ERR_ENTRY("SOUND_MANAGER_ERROR_NO_PLAYING_SOUND", TIZEN_ERROR_SOUND_MANAGER | 0x03, "No playing sound"),
-       ERR_ENTRY("SOUND_MANAGER_ERROR_INVALID_STATE", TIZEN_ERROR_SOUND_MANAGER | 0x04, "Invalid state"),
-#endif
-#if defined(TIZEN_ERROR_TONE_PLAYER)
-       ERR_ENTRY("TONE_PLAYER_ERROR_NOT_SUPPORTED_TYPE", TIZEN_ERROR_TONE_PLAYER | 0x01, "Not supported"),
-#endif
-#if defined(TIZEN_ERROR_VIDEO_UTIL)
-       ERR_ENTRY("VIDEO_UTIL_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_VIDEO_UTIL | 0x01, "Not supported format"),
-#endif
-#if defined(TIZEN_ERROR_WAV_PLAYER)
-       ERR_ENTRY("WAV_PLAYER_ERROR_FORMAT_NOT_SUPPORTED", TIZEN_ERROR_WAV_PLAYER | 0x01, "Format not supported"),
-       ERR_ENTRY("WAV_PLAYER_ERROR_NOT_SUPPORTED_TYPE", TIZEN_ERROR_WAV_PLAYER | 0x02, "Not supported"),
-#endif
-#if defined(TIZEN_ERROR_RADIO)
-       ERR_ENTRY("RADIO_ERROR_INVALID_STATE", TIZEN_ERROR_RADIO | 0x01, "Invalid state"),
-       ERR_ENTRY("RADIO_ERROR_SOUND_POLICY", TIZEN_ERROR_RADIO | 0x02, "Sound policy error"),
-       ERR_ENTRY("RADIO_ERROR_NO_ANTENNA", TIZEN_ERROR_RADIO | 0x03, "No Antenna error"),
-
-#endif
-#if defined(TIZEN_ERROR_MEDIACODEC)
-       ERR_ENTRY("MEDIACODEC_ERROR_INVALID_STATE", TIZEN_ERROR_MEDIACODEC | 0x01, "Invalid state"),
-       ERR_ENTRY("MEDIACODEC_ERROR_INVALID_INBUFFER", TIZEN_ERROR_MEDIACODEC | 0x02, "Invalid input buffer"),
-       ERR_ENTRY("MEDIACODEC_ERROR_INVALID_OUTBUFFER", TIZEN_ERROR_MEDIACODEC | 0x03, "Invalid output buffer"),
-       ERR_ENTRY("MEDIACODEC_ERROR_INTERNAL", TIZEN_ERROR_MEDIACODEC | 0x04, "Invalid output buffer"),
-       ERR_ENTRY("MEDIACODEC_ERROR_NOT_INITIALIZED", TIZEN_ERROR_MEDIACODEC | 0x05, "Internal error"),
-       ERR_ENTRY("MEDIACODEC_ERROR_INVALID_STREAM", TIZEN_ERROR_MEDIACODEC | 0x06, "Not initialized mediacodec"),
-       ERR_ENTRY("MEDIACODEC_ERROR_CODEC_NOT_FOUND", TIZEN_ERROR_MEDIACODEC | 0x07, "Cannot find codec"),
-       ERR_ENTRY("MEDIACODEC_ERROR_DECODE", TIZEN_ERROR_MEDIACODEC | 0x08, "Error while decoding data"),
-       ERR_ENTRY("MEDIACODEC_ERROR_NO_FREE_SPACE", TIZEN_ERROR_MEDIACODEC | 0x09, "Out of storage"),
-       ERR_ENTRY("MEDIACODEC_ERROR_STREAM_NOT_FOUND", TIZEN_ERROR_MEDIACODEC | 0x0a, "Cannot find stream"),
-       ERR_ENTRY("MEDIACODEC_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_MEDIACODEC | 0x0b, "Not supported format "),
-       ERR_ENTRY("MEDIACODEC_ERROR_BUFFER_NOT_AVAILABLE", TIZEN_ERROR_MEDIACODEC | 0x0c, "Not available buffer"),
-       ERR_ENTRY("MEDIACODEC_ERROR_OVERFLOW_INBUFFER", TIZEN_ERROR_MEDIACODEC | 0x0d, "Overflow input buffer"),
-       ERR_ENTRY("MEDIACODEC_ERROR_RESOURCE_OVERLOADED", TIZEN_ERROR_MEDIACODEC | 0x0e, "Exceed the instance limit"),
-#endif
-#if defined(TIZEN_ERROR_BLUETOOTH)
-       ERR_ENTRY("BT_ERROR_NOT_INITIALIZED", TIZEN_ERROR_BLUETOOTH | 0x0101, "Local adapter not initialized"),
-       ERR_ENTRY("BT_ERROR_NOT_ENABLED", TIZEN_ERROR_BLUETOOTH | 0x0102, "Local adapter not enabled"),
-       ERR_ENTRY("BT_ERROR_ALREADY_DONE", TIZEN_ERROR_BLUETOOTH | 0x0103, "Operation already done"),
-       ERR_ENTRY("BT_ERROR_OPERATION_FAILED", TIZEN_ERROR_BLUETOOTH | 0x0104, "Operation failed"),
-       ERR_ENTRY("BT_ERROR_NOT_IN_PROGRESS", TIZEN_ERROR_BLUETOOTH | 0x0105, "Operation not in progress"),
-       ERR_ENTRY("BT_ERROR_REMOTE_DEVICE_NOT_BONDED", TIZEN_ERROR_BLUETOOTH | 0x0106, "Remote device not bonde"),
-       ERR_ENTRY("BT_ERROR_AUTH_REJECTED", TIZEN_ERROR_BLUETOOTH | 0x0107, "Authentication rejected"),
-       ERR_ENTRY("BT_ERROR_AUTH_FAILED", TIZEN_ERROR_BLUETOOTH | 0x0108, "Authentication failed"),
-       ERR_ENTRY("BT_ERROR_REMOTE_DEVICE_NOT_FOUND", TIZEN_ERROR_BLUETOOTH | 0x0109, "Remote device not found "),
-       ERR_ENTRY("BT_ERROR_SERVICE_SEARCH_FAILED", TIZEN_ERROR_BLUETOOTH | 0x010A, "Service search failed"),
-       ERR_ENTRY("BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED", TIZEN_ERROR_BLUETOOTH | 0x010B, "Remote device is not connected"),
-       ERR_ENTRY("BT_ERROR_AGAIN", TIZEN_ERROR_BLUETOOTH | 0x010C, "Resource temporarily unavailable "),
-       ERR_ENTRY("BT_ERROR_SERVICE_NOT_FOUND", TIZEN_ERROR_BLUETOOTH | 0x010D, "Service not found"),
-#endif
-#if defined(TIZEN_ERROR_CONNECTION)
-       ERR_ENTRY("CONNECTION_ERROR_OPERATION_FAILED", TIZEN_ERROR_CONNECTION | 0x0401, "Operation failed"),
-       ERR_ENTRY("CONNECTION_ERROR_ITERATOR_END", TIZEN_ERROR_CONNECTION | 0x0402, "End of iteration"),
-       ERR_ENTRY("CONNECTION_ERROR_NO_CONNECTION", TIZEN_ERROR_CONNECTION | 0x0403, "There is no connection"),
-       ERR_ENTRY("CONNECTION_ERROR_ALREADY_EXISTS", TIZEN_ERROR_CONNECTION | 0x0404, "Already exists"),
-       ERR_ENTRY("CONNECTION_ERROR_OPERATION_ABORTED", TIZEN_ERROR_CONNECTION | 0x0405, "Operation is aborted"),
-       ERR_ENTRY("CONNECTION_ERROR_DHCP_FAILED", TIZEN_ERROR_CONNECTION | 0x0406, "DHCP failed"),
-       ERR_ENTRY("CONNECTION_ERROR_INVALID_KEY", TIZEN_ERROR_CONNECTION | 0x0407, "Invalid key"),
-       ERR_ENTRY("CONNECTION_ERROR_NO_REPLY", TIZEN_ERROR_CONNECTION | 0x0408, "No reply"),
-#endif
-#if defined(TIZEN_ERROR_NFC)
-       ERR_ENTRY("NFC_ERROR_OPERATION_FAILED", TIZEN_ERROR_NFC | 0x01, "Operation failed"),
-       ERR_ENTRY("NFC_ERROR_INVALID_NDEF_MESSAGE", TIZEN_ERROR_NFC | 0x02, "Invalid NDEF message"),
-       ERR_ENTRY("NFC_ERROR_INVALID_RECORD_TYPE", TIZEN_ERROR_NFC | 0x03, "Invalid record type"),
-       ERR_ENTRY("NFC_ERROR_NO_DEVICE", TIZEN_ERROR_NFC | 0x04, "No device"),
-       ERR_ENTRY("NFC_ERROR_NOT_ACTIVATED", TIZEN_ERROR_NFC | 0x05, "NFC is not activated"),
-       ERR_ENTRY("NFC_ERROR_ALREADY_ACTIVATED", TIZEN_ERROR_NFC | 0x06, "Already activated"),
-       ERR_ENTRY("NFC_ERROR_ALREADY_DEACTIVATED", TIZEN_ERROR_NFC | 0x07, "Already deactivated"),
-       ERR_ENTRY("NFC_ERROR_READ_ONLY_NDEF", TIZEN_ERROR_NFC | 0x08, "Read only tag"),
-       ERR_ENTRY("NFC_ERROR_NO_SPACE_ON_NDEF", TIZEN_ERROR_NFC | 0x09, "No enough space on tag"),
-       ERR_ENTRY("NFC_ERROR_NO_NDEF_MESSAGE", TIZEN_ERROR_NFC | 0x0a, "No NDEF Message on Tag"),
-       ERR_ENTRY("NFC_ERROR_NOT_NDEF_FORMAT", TIZEN_ERROR_NFC | 0x0b, "Not NDEF format Tag "),
-       ERR_ENTRY("NFC_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_NFC | 0x0c, "Restricted by access control"),
-       ERR_ENTRY("NFC_ERROR_ILLEGAL_STATE", TIZEN_ERROR_NFC | 0x0d, "The state is wrong"),
-       ERR_ENTRY("NFC_ERROR_NOT_INITIALIZED", TIZEN_ERROR_NFC | 0x0e, "NFC is not initialized"),
-       ERR_ENTRY("NFC_ERROR_TAG_NOT_SUPPORTED", TIZEN_ERROR_NFC | 0x0f, "Tag is not supported"),
-       ERR_ENTRY("NFC_ERROR_AID_ALREADY_REGISTERED", TIZEN_ERROR_NFC | 0x10, "AID already registered"),
-#endif
-#if defined(TIZEN_ERROR_TETHERING)
-       ERR_ENTRY("TETHERING_ERROR_NOT_ENABLED", TIZEN_ERROR_TETHERING | 0x0501, "Not enabled"),
-       ERR_ENTRY("TETHERING_ERROR_OPERATION_FAILED", TIZEN_ERROR_TETHERING | 0x0502, "Operation failed"),
-#endif
-#if defined(TIZEN_ERROR_WIFI)
-       ERR_ENTRY("WIFI_ERROR_OPERATION_FAILED", TIZEN_ERROR_WIFI | 0x0301, "Operation failed"),
-       ERR_ENTRY("WIFI_ERROR_NO_CONNECTION", TIZEN_ERROR_WIFI | 0x0302, "There is no connected AP"),
-       ERR_ENTRY("WIFI_ERROR_ALREADY_EXISTS", TIZEN_ERROR_WIFI | 0x0303, "Already exists"),
-       ERR_ENTRY("WIFI_ERROR_OPERATION_ABORTED", TIZEN_ERROR_WIFI | 0x0304, "Operation is aborted "),
-       ERR_ENTRY("WIFI_ERROR_DHCP_FAILED", TIZEN_ERROR_WIFI | 0x0306, "DHCP failed"),
-       ERR_ENTRY("WIFI_ERROR_INVALID_KEY", TIZEN_ERROR_WIFI | 0x0307, "Invalid key"),
-       ERR_ENTRY("WIFI_ERROR_NO_REPLY", TIZEN_ERROR_WIFI | 0x0308, "No reply"),
-       ERR_ENTRY("WIFI_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_WIFI | 0x0309, "Restricted by security system policy"),
-#endif
-#if defined(TIZEN_ERROR_WIFI_DIRECT)
-       ERR_ENTRY("WIFI_DIRECT_ERROR_NOT_INITIALIZED", TIZEN_ERROR_WIFI_DIRECT | 0x01, "Not initialized"),
-       ERR_ENTRY("WIFI_DIRECT_ERROR_COMMUNICATION_FAILED", TIZEN_ERROR_WIFI_DIRECT | 0x02, "I/O error"),
-       ERR_ENTRY("WIFI_DIRECT_ERROR_WIFI_USED", TIZEN_ERROR_WIFI_DIRECT | 0x03, "WiFi is being used"),
-       ERR_ENTRY("WIFI_DIRECT_ERROR_MOBILE_AP_USED", TIZEN_ERROR_WIFI_DIRECT | 0x04, "Mobile AP is being used"),
-       ERR_ENTRY("WIFI_DIRECT_ERROR_CONNECTION_FAILED", TIZEN_ERROR_WIFI_DIRECT | 0x05, "Mobile AP is being used"),
-       ERR_ENTRY("WIFI_DIRECT_ERROR_AUTH_FAILED", TIZEN_ERROR_WIFI_DIRECT | 0x06, "Authentication failed"),
-       ERR_ENTRY("WIFI_DIRECT_ERROR_OPERATION_FAILED", TIZEN_ERROR_WIFI_DIRECT | 0x07, "Operation failed"),
-       ERR_ENTRY("WIFI_DIRECT_ERROR_TOO_MANY_CLIENT", TIZEN_ERROR_WIFI_DIRECT | 0x08, "Many client"),
-       ERR_ENTRY("WIFI_DIRECT_ERROR_ALREADY_INITIALIZED", TIZEN_ERROR_WIFI_DIRECT | 0x09, "Already initialized client"),
-       ERR_ENTRY("WIFI_DIRECT_ERROR_CONNECTION_CANCELED", TIZEN_ERROR_WIFI_DIRECT | 0x10, "Connection canceled by local device"),
-#endif
-#if defined(TIZEN_ERROR_KEY_MANAGER)
-       ERR_ENTRY("CKMC_ERROR_SOCKET", TIZEN_ERROR_KEY_MANAGER | 0x01, "Socket error between client and Central Key Manager"),
-       ERR_ENTRY("CKMC_ERROR_BAD_REQUEST", TIZEN_ERROR_KEY_MANAGER | 0x02, "Invalid request from client "),
-       ERR_ENTRY("CKMC_ERROR_BAD_RESPONSE", TIZEN_ERROR_KEY_MANAGER | 0x03, "Invalid response from Central Key Manager"),
-       ERR_ENTRY("CKMC_ERROR_SEND_FAILED", TIZEN_ERROR_KEY_MANAGER | 0x04, "Transmitting request failed"),
-       ERR_ENTRY("CKMC_ERROR_RECV_FAILED", TIZEN_ERROR_KEY_MANAGER | 0x05, "Receiving response failed"),
-       ERR_ENTRY("CKMC_ERROR_AUTHENTICATION_FAILED", TIZEN_ERROR_KEY_MANAGER | 0x06, "Authentication between client and manager failed"),
-       ERR_ENTRY("CKMC_ERROR_BUFFER_TOO_SMALL", TIZEN_ERROR_KEY_MANAGER | 0x07, "The output buffer size which is passed as parameter is too small"),
-       ERR_ENTRY("CKMC_ERROR_SERVER_ERROR", TIZEN_ERROR_KEY_MANAGER | 0x08, "Central Key Manager has been failed for some reason"),
-       ERR_ENTRY("CKMC_ERROR_DB_LOCKED", TIZEN_ERROR_KEY_MANAGER | 0x09, "The database was not unlocked - user did not login"),
-       ERR_ENTRY("CKMC_ERROR_DB_ERROR", TIZEN_ERROR_KEY_MANAGER | 0x0A, "An internal error inside the database"),
-       ERR_ENTRY("CKMC_ERROR_DB_ALIAS_EXISTS", TIZEN_ERROR_KEY_MANAGER | 0x0B, "Provided alias already exists in the database"),
-       ERR_ENTRY("CKMC_ERROR_DB_ALIAS_UNKNOWN", TIZEN_ERROR_KEY_MANAGER | 0x0C, "No data for given alias"),
-       ERR_ENTRY("CKMC_ERROR_VERIFICATION_FAILED", TIZEN_ERROR_KEY_MANAGER | 0x0D, "CA certificate(s) were unknown and chain could not be created"),
-       ERR_ENTRY("CKMC_ERROR_INVALID_FORMAT", TIZEN_ERROR_KEY_MANAGER | 0x0E, "A provided file doesn't exists or cannot be accessed in the file system"),
-       ERR_ENTRY("CKMC_ERROR_FILE_ACCESS_DENIED", TIZEN_ERROR_KEY_MANAGER | 0x0F, "A provided file or binary has not a valid format"),
-       ERR_ENTRY("CKMC_ERROR_NOT_EXPORTABLE", TIZEN_ERROR_KEY_MANAGER | 0x10, "Key is not exportable. It could not be returned to client"),
-       ERR_ENTRY("CKMC_ERROR_FILE_SYSTEM", TIZEN_ERROR_KEY_MANAGER | 0x11, "Save key\/certificate\/pkcs12 failed because of file system error"),
-       ERR_ENTRY("CKMC_ERROR_UNKNOWN", TIZEN_ERROR_KEY_MANAGER | 0xFF, "The error with unknown reason"),
-#endif
-#if defined(TIZEN_ERROR_CALENDAR)
-       ERR_ENTRY("CALENDAR_ERROR_DB_FAILED", TIZEN_ERROR_CALENDAR | 0x02, "No access to the database"),
-       ERR_ENTRY("CALENDAR_ERROR_ITERATOR_END", TIZEN_ERROR_CALENDAR | 0x04, "Iterator is on the last position"),
-       ERR_ENTRY("CALENDAR_ERROR_DB_RECORD_NOT_FOUND", TIZEN_ERROR_CALENDAR | 0x05, "Database not found"),
-       ERR_ENTRY("CALENDAR_ERROR_IPC", TIZEN_ERROR_CALENDAR | 0xBF, "Unknown IPC error"),
-       ERR_ENTRY("CALENDAR_ERROR_SYSTEM", TIZEN_ERROR_CALENDAR | 0xEF, "Error from another modules"),
-#endif
-#if defined(TIZEN_ERROR_CONTACTS)
-       ERR_ENTRY("CONTACTS_ERROR_DB_LOCKED", TIZEN_ERROR_CONTACTS | 0x81, "Database table locked or file locked"),
-       ERR_ENTRY("CONTACTS_ERROR_DB", TIZEN_ERROR_CONTACTS | 0x9F, "Unknown DB error"),
-       ERR_ENTRY("CONTACTS_ERROR_IPC_NOT_AVALIABLE", TIZEN_ERROR_CONTACTS | 0xB1, "IPC server is not available"),
-       ERR_ENTRY("CONTACTS_ERROR_IPC", TIZEN_ERROR_CONTACTS | 0xBF, "Unknown IPC error"),
-       ERR_ENTRY("CONTACTS_ERROR_SYSTEM", TIZEN_ERROR_CONTACTS | 0xEF, "Internal system module error"),
-       ERR_ENTRY("CONTACTS_ERROR_INTERNAL", TIZEN_ERROR_CONTACTS | 0xFF, "Implementation Error, Temporary Use"),
-#endif
-#if defined(TIZEN_ERROR_STORAGE)
-       ERR_ENTRY("STORAGE_ERROR_OPERATION_FAILED", TIZEN_ERROR_SYSTEM_CLASS | 0x12, "Operation failed"),
-#endif
-#if defined(TIZEN_ERROR_DEVICE)
-       ERR_ENTRY("DEVICE_ERROR_NOT_INITIALIZED", TIZEN_ERROR_DEVICE | 0x13, "Not initialized"),
-#endif
-#if defined(TIZEN_ERROR_DLOG)
-#endif
-#if defined(TIZEN_ERROR_MEDIA_KEY)
-       ERR_ENTRY("MEDIA_KEY_ERROR_OPERATION_FAILED", TIZEN_ERROR_MEDIA_KEY | 0x01, "Reserve/Release failed"),
-#endif
-#if defined(TIZEN_ERROR_RUNTIME_INFORMATION)
-#endif
-#if defined(TIZEN_ERROR_SENSOR)
-       ERR_ENTRY("SENSOR_ERROR_NOT_NEED_CALIBRATION", TIZEN_ERROR_SENSOR | 0x03, "Sensor doesn't need calibration"),
-       ERR_ENTRY("SENSOR_ERROR_OPERATION_FAILED", TIZEN_ERROR_SENSOR | 0x06, "Operation failed"),
-#endif
-#if defined(TIZEN_ERROR_SYSTEM_INFORMATION)
-#endif
-#if defined(TIZEN_ERROR_SYSTEM_SETTING)
-       ERR_ENTRY("SYSTEM_SETTINGS_ERROR_LOCKSCREEN_APP_PASSWORD_MODE", TIZEN_ERROR_SYSTEM_SETTING | 0x01, "Current lock screen app set 'password' type"),
-#endif
-#if defined(TIZEN_ERROR_SYSTEM_RESOURCE)
-#endif
-#if defined(TIZEN_ERROR_CONTEXT)
-       ERR_ENTRY("ACTIVITY_ERROR_ALREADY_STARTED", TIZEN_ERROR_CONTEXT | 0x01, "Recognition is already started"),
-       ERR_ENTRY("ACTIVITY_ERROR_NOT_STARTED", TIZEN_ERROR_CONTEXT | 0x02, "Recognition is not started"),
-       ERR_ENTRY("CONTEXT_HISTORY_ERROR_OUT_OF_RANGE", TIZEN_ERROR_CONTEXT | 0x03, "Out of range"),
-       ERR_ENTRY("ACTIVITY_ERROR_OPERATION_FAILED", TIZEN_ERROR_CONTEXT | 0x04, "Operation failed"),
-       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_ENABLED", TIZEN_ERROR_CONTEXT | 0x05, "Rule is enabled"),
-       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_ENABLED", TIZEN_ERROR_CONTEXT | 0x06, "Rule is not enabled"),
-       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_INVALID_RULE", TIZEN_ERROR_CONTEXT | 0x07, "Invalid rule"),
-       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_EXIST", TIZEN_ERROR_CONTEXT | 0x08, "Rule does not exist"),
-#endif
-#if defined(TIZEN_ERROR_TELEPHONY)
-       ERR_ENTRY("TELEPHONY_ERROR_OPERATION_FAILED", TIZEN_ERROR_TELEPHONY | 0x0001, "Operation failed"),
-       ERR_ENTRY("TELEPHONY_ERROR_SIM_NOT_AVAILABLE", TIZEN_ERROR_TELEPHONY | 0x1001, "SIM is not available"),
-#endif
-#if defined(TIZEN_ERROR_EFL_UTIL)
-       ERR_ENTRY("EFL_UTIL_ERROR_NOT_SUPPORTED_WINDOW_TYPE", TIZEN_ERROR_EFL_UTIL | 0x01, "Window type not supported"),
-       ERR_ENTRY("EFL_UTIL_ERROR_SCREENSHOT_INIT_FAIL", TIZEN_ERROR_EFL_UTIL | 0x02, "Screenshot initialization fail"),
-       ERR_ENTRY("EFL_UTIL_ERROR_SCREENSHOT_EXECUTION_FAIL", TIZEN_ERROR_EFL_UTIL | 0x03, "Screenshot execution fail"),
-#endif
-#if defined(TIZEN_ERROR_TBM)
-#endif
-#if defined(TIZEN_ERROR_DOWNLOAD)
-       ERR_ENTRY("DOWNLOAD_ERROR_INVALID_STATE", TIZEN_ERROR_DOWNLOAD | 0x21, "Invalid state"),
-       ERR_ENTRY("DOWNLOAD_ERROR_CONNECTION_FAILED", TIZEN_ERROR_DOWNLOAD | 0x22, "Connection failed"),
-       ERR_ENTRY("DOWNLOAD_ERROR_INVALID_URL", TIZEN_ERROR_DOWNLOAD | 0x24, "Invalid URL"),
-       ERR_ENTRY("DOWNLOAD_ERROR_INVALID_DESTINATION", TIZEN_ERROR_DOWNLOAD | 0x25, "Invalid destination"),
-       ERR_ENTRY("DOWNLOAD_ERROR_TOO_MANY_DOWNLOADS", TIZEN_ERROR_DOWNLOAD | 0x26, "Too many simultaneous downloads"),
-       ERR_ENTRY("DOWNLOAD_ERROR_QUEUE_FULL", TIZEN_ERROR_DOWNLOAD | 0x27, "Download server queue is full"),
-       ERR_ENTRY("DOWNLOAD_ERROR_ALREADY_COMPLETED", TIZEN_ERROR_DOWNLOAD | 0x28, "The download is already completed"),
-       ERR_ENTRY("DOWNLOAD_ERROR_FILE_ALREADY_EXISTS", TIZEN_ERROR_DOWNLOAD | 0x29, "Failed to rename the downloaded file"),
-       ERR_ENTRY("DOWNLOAD_ERROR_CANNOT_RESUME", TIZEN_ERROR_DOWNLOAD | 0x2a, "Cannot resume"),
-       ERR_ENTRY("DOWNLOAD_ERROR_FIELD_NOT_FOUND", TIZEN_ERROR_DOWNLOAD | 0x2b, "Specified field not found"),
-       ERR_ENTRY("DOWNLOAD_ERROR_TOO_MANY_REDIRECTS", TIZEN_ERROR_DOWNLOAD | 0x30, "Too many redirects from HTTP response header"),
-       ERR_ENTRY("DOWNLOAD_ERROR_UNHANDLED_HTTP_CODE", TIZEN_ERROR_DOWNLOAD | 0x31, "The download cannot handle the HTTP status value"),
-       ERR_ENTRY("DOWNLOAD_ERROR_REQUEST_TIMEOUT", TIZEN_ERROR_DOWNLOAD | 0x32, "No action after client creates a download ID"),
-       ERR_ENTRY("DOWNLOAD_ERROR_RESPONSE_TIMEOUT", TIZEN_ERROR_DOWNLOAD | 0x33, "No call to start API for some time although the download is created"),
-       ERR_ENTRY("DOWNLOAD_ERROR_SYSTEM_DOWN", TIZEN_ERROR_DOWNLOAD | 0x34, "No response from client after rebooting download daemon"),
-       ERR_ENTRY("DOWNLOAD_ERROR_ID_NOT_FOUND", TIZEN_ERROR_DOWNLOAD | 0x35, "Download ID does not exist in download service module"),
-       ERR_ENTRY("DOWNLOAD_ERROR_INVALID_NETWORK_TYPE", TIZEN_ERROR_DOWNLOAD | 0x36, "Network bonding is set but network type is not set as DOWNLOAD_NETWORK_ALL"),
-#endif
-#if defined(TIZEN_ERROR_WEBVIEW)
-#endif
-#if defined(TIZEN_ERROR_LOCATION_MANAGER)
-       ERR_ENTRY("LOCATIONS_ERROR_INCORRECT_METHOD", TIZEN_ERROR_LOCATION_MANAGER | 0x01, "Location manager contains incorrect method for a given call"),
-       ERR_ENTRY("LOCATIONS_ERROR_NETWORK_FAILED", TIZEN_ERROR_LOCATION_MANAGER | 0x02, "Network unavailable"),
-       ERR_ENTRY("LOCATIONS_ERROR_SERVICE_NOT_AVAILABLE", TIZEN_ERROR_LOCATION_MANAGER | 0x03, "Location service is not available"),
-       ERR_ENTRY("LOCATIONS_ERROR_GPS_SETTING_OFF", TIZEN_ERROR_LOCATION_MANAGER | 0x04, "GPS/WPS setting is not enabled"),
-       ERR_ENTRY("LOCATIONS_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_LOCATION_MANAGER | 0x05, "Restricted by security system policy"),
-       ERR_ENTRY("LOCATION_BOUNDS_ERROR_INCORRECT_TYPE", TIZEN_ERROR_LOCATION_MANAGER | 0x21, "Incorrect bounds type for a given call"),
-       ERR_ENTRY("LOCATION_BOUNDS_ERROR_IS_ADDED", TIZEN_ERROR_LOCATION_MANAGER | 0x22, "Cannot remove bounds handle from location manager"),
-#endif
-#if defined(TIZEN_ERROR_STT)
-       ERR_ENTRY("STT_ERROR_INVALID_STATE", TIZEN_ERROR_STT | 0x01, "Invalid state"),
-       ERR_ENTRY("STT_ERROR_INVALID_LANGUAGE", TIZEN_ERROR_STT | 0x02, "Invalid language"),
-       ERR_ENTRY("STT_ERROR_ENGINE_NOT_FOUND", TIZEN_ERROR_STT | 0x03, "No available engine"),
-       ERR_ENTRY("STT_ERROR_OPERATION_FAILED", TIZEN_ERROR_STT | 0x04, "Operation failed"),
-       ERR_ENTRY("STT_ERROR_NOT_SUPPORTED_FEATURE", TIZEN_ERROR_STT | 0x05, "Not supported feature of current engine"),
-#endif
-#if defined(TIZEN_ERROR_TTS)
-       ERR_ENTRY("TTS_ERROR_INVALID_STATE", TIZEN_ERROR_TTS | 0x01, "Invalid state"),
-       ERR_ENTRY("TTS_ERROR_INVALID_VOICE", TIZEN_ERROR_TTS | 0x02, "Invalid voice"),
-       ERR_ENTRY("TTS_ERROR_ENGINE_NOT_FOUND", TIZEN_ERROR_TTS | 0x03, "No available engine"),
-       ERR_ENTRY("TTS_ERROR_OPERATION_FAILED", TIZEN_ERROR_TTS | 0x04, "Operation failed"),
-       ERR_ENTRY("TTS_ERROR_AUDIO_POLICY_BLOCKED", TIZEN_ERROR_TTS | 0x05, "Audio policy blocked"),
-#endif
-#if defined(TIZEN_ERROR_SMARTCARD)
-       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"),
-       ERR_ENTRY("SMARTCARD_ERROR_ILLEGAL_STATE", TIZEN_ERROR_SMARTCARD | 0x03, "Illegal state of execution error"),
-       ERR_ENTRY("SMARTCARD_ERROR_ILLEGAL_REFERENCE", TIZEN_ERROR_SMARTCARD | 0x04, "Illegal reference"),
-       ERR_ENTRY("SMARTCARD_ERROR_OPERATION_NOT_SUPPORTED", TIZEN_ERROR_SMARTCARD | 0x05, "Operation not supported from SE"),
-       ERR_ENTRY("SMARTCARD_ERROR_CHANNEL_NOT_AVAILABLE", TIZEN_ERROR_SMARTCARD | 0x06, "No channel available"),
-       ERR_ENTRY("SMARTCARD_ERROR_NOT_INITIALIZED", TIZEN_ERROR_SMARTCARD | 0x07, "Smartcard service not initialized"),
-#endif
-#if defined(TIZEN_ERROR_HEALTH)
-       ERR_ENTRY("HEALTH_ERROR_DATA_TYPE_NOT_FOUND", TIZEN_ERROR_HEALTH | 0x01, "Maifest for the data type specified not found"),
-       ERR_ENTRY("HEALTH_ERROR_MANDATORY_DATA_REQURIED", TIZEN_ERROR_HEALTH | 0x02, "Mandatory property is missing"),
-       ERR_ENTRY("HEALTH_ERROR_INVALID_DATA", TIZEN_ERROR_HEALTH | 0x03, "Data is out of range or invalid type"),
-#endif
-#if defined(TIZEN_ERROR_VOICE_CONTROL)
-       ERR_ENTRY("VC_ERROR_INVALID_STATE", TIZEN_ERROR_VOICE_CONTROL | 0x011, "Invalid state"),
-       ERR_ENTRY("VC_ERROR_INVALID_LANGUAGE", TIZEN_ERROR_VOICE_CONTROL | 0x012, "Invalid language"),
-       ERR_ENTRY("VC_ERROR_ENGINE_NOT_FOUND", TIZEN_ERROR_VOICE_CONTROL | 0x013, "No available engine"),
-       ERR_ENTRY("VC_ERROR_OPERATION_FAILED", TIZEN_ERROR_VOICE_CONTROL | 0x014, "Operation failed"),
-       ERR_ENTRY("VC_ERROR_OPERATION_REJECTED", TIZEN_ERROR_VOICE_CONTROL | 0x015, "Operation rejected"),
-       ERR_ENTRY("VC_ERROR_ITERATION_END", TIZEN_ERROR_VOICE_CONTROL | 0x016, "List reached end"),
-       ERR_ENTRY("VC_ERROR_EMPTY", TIZEN_ERROR_VOICE_CONTROL | 0x017, "List empty"),
-       //voice ui control
-       ERR_ENTRY("VC_ELM_ERROR_INVALID_STATE", TIZEN_ERROR_VOICE_CONTROL | 0x021, " Invalid state"),
-       ERR_ENTRY("VC_ELM_ERROR_INVALID_LANGUAG", TIZEN_ERROR_VOICE_CONTROL | 0x022, "Invalid language"),
-       ERR_ENTRY("VC_ELM_ERROR_OPERATION_FAILED", TIZEN_ERROR_VOICE_CONTROL | 0x023, "Operation failed"),
-       ERR_ENTRY("VC_ELM_ERROR_OPERATION_REJECTED", TIZEN_ERROR_VOICE_CONTROL | 0x024, "Operation rejected"),
-#endif
-#if defined(TIZEN_ERROR_FEEDBACK)
-       ERR_ENTRY("FEEDBACK_ERROR_NOT_INITIALIZED", TIZEN_ERROR_FEEDBACK | 0x01, "Not initialized"),
-#endif
-#if defined(TIZEN_ERROR_EOM)
-       ERR_ENTRY("EOM_ERROR_CONNECTION_FAILURE", TIZEN_ERROR_EOM | 0x01, "Connection failure"),
-       ERR_ENTRY("EOM_ERROR_MESSAGE_SENDING_FAILURE", TIZEN_ERROR_EOM | 0x02, "Message sending failure"),
-       ERR_ENTRY("EOM_ERROR_MESSAGE_OPERATION_FAILURE", TIZEN_ERROR_EOM | 0x03, "Message operation failure"),
-#endif
-#if defined(TIZEN_ERROR_WIDGET)
-       ERR_ENTRY("WIDGET_ERROR_FAULT", TIZEN_ERROR_WIDGET | 0x0001, "Fault - Unable to recover from the error"),
-       ERR_ENTRY("WIDGET_ERROR_ALREADY_EXIST", TIZEN_ERROR_WIDGET | 0x0002, "Already exists"),
-       ERR_ENTRY("WIDGET_ERROR_ALREADY_STARTED", TIZEN_ERROR_WIDGET | 0x0004, "Operation is already started"),
-       ERR_ENTRY("WIDGET_ERROR_NOT_EXIST", TIZEN_ERROR_WIDGET | 0x0008, "Not exists"),
-       ERR_ENTRY("WIDGET_ERROR_DISABLED", TIZEN_ERROR_WIDGET | 0x00010, "Disabled"),
-#endif
-#if defined(TIZEN_ERROR_MINICONTROL)
-       ERR_ENTRY("MINICONTROL_ERROR_IPC_FAILURE", TIZEN_ERROR_MINICONTROL | 0x02, " IPC error"),
-       ERR_ENTRY("MINICONTROL_ERROR_ELM_FAILURE", TIZEN_ERROR_MINICONTROL | 0x03, " Some error occued on elementary"),
-#endif
-#if defined(TIZEN_ERROR_IME)
-       ERR_ENTRY("IME_ERROR_NO_CALLBACK_FUNCTION", TIZEN_ERROR_IME | 0x0001, "Necessary callback function is not set"),
-       ERR_ENTRY("IME_ERROR_NOT_RUNNING", TIZEN_ERROR_IME | 0x0002, "IME main loop isn't started yet "),
-       ERR_ENTRY("IME_ERROR_OPERATION_FAILED", TIZEN_ERROR_IME | 0x0003, "Operation failed"),
-       ERR_ENTRY("IME_MANAGER_ERROR_OPERATION_FAILED", TIZEN_ERROR_IME | 0x0010, "Operation failed"),
-#endif
-#if defined(TIZEN_ERROR_MAPS_SERVICE)
-       ERR_ENTRY("MAPS_ERROR_SERVICE_NOT_AVAILABLE", TIZEN_ERROR_MAPS_SERVICE | 0x01, "Service unavailable"),
-       ERR_ENTRY("MAPS_ERROR_NOT_FOUND", TIZEN_ERROR_MAPS_SERVICE | 0x02, "Result not found "),
-#endif
-#if defined(TIZEN_ERROR_GEOFENCE_MANAGER)
-       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_NOT_INITIALIZED", TIZEN_ERROR_GEOFENCE_MANAGER | 0x01, "Geofence Manager is not initialized"),
-       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_INVALID_ID", TIZEN_ERROR_GEOFENCE_MANAGER | 0x02, "Invalid Geofence ID"),
-       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_EXCEPTION", TIZEN_ERROR_GEOFENCE_MANAGER | 0x03, "exception is occurred"),
-       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_ALREADY_STARTED", TIZEN_ERROR_GEOFENCE_MANAGER | 0x04, "Geofence is already started"),
-       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_TOO_MANY_GEOFENCE", TIZEN_ERROR_GEOFENCE_MANAGER | 0x05, "Too many Geofence"),
-       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_IPC", TIZEN_ERROR_GEOFENCE_MANAGER | 0x06, "Error occurred in GPS/Wi-Fi/BT"),
-       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_DATABASE", TIZEN_ERROR_GEOFENCE_MANAGER | 0x07, "DB error occurred in the server side"),
-       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_PLACE_ACCESS_DENIED", TIZEN_ERROR_GEOFENCE_MANAGER | 0x08, "Access to specified place is denied"),
-       ERR_ENTRY("GEOFENCE_MANAGER_ERROR_GEOFENCE_ACCESS_DENIED", TIZEN_ERROR_GEOFENCE_MANAGER | 0x09, "Access to specified geofence is denied"),
-#endif
-#if defined(TIZEN_ERROR_SYNC_MANAGER)
-       ERR_ENTRY("SYNC_ERROR_SYSTEM", TIZEN_ERROR_SYNC_MANAGER | 0x01, "System error"),
-       ERR_ENTRY("SYNC_ERROR_SYNC_ADAPTER_NOT_FOUND", TIZEN_ERROR_SYNC_MANAGER | 0x02, "Sync adater is not registered"),
-#endif
-#if defined(TIZEN_ERROR_SERVICE_ADAPTOR)
-       ERR_ENTRY("SERVICE_ADAPTOR_ERROR_IPC_UNSTABLE", TIZEN_ERROR_SERVICE_ADAPTOR | 0x01, "IPC Connection unstabled"),
-       ERR_ENTRY("SERVICE_ADAPTOR_ERROR_PLUGIN_FAILED", TIZEN_ERROR_SERVICE_ADAPTOR | 0x02, "The error occured from Plugin"),
-       ERR_ENTRY("SERVICE_ADAPTOR_ERROR_NOT_AUTHORIZED", TIZEN_ERROR_SERVICE_ADAPTOR | 0x03, "Need Autholization "),
-       ERR_ENTRY("SERVICE_ADAPTOR_ERROR_INVALID_STATE", TIZEN_ERROR_SERVICE_ADAPTOR | 0x04, "The handle state is invalid for processing API"),
-       ERR_ENTRY("SERVICE_ADAPTOR_ERROR_SYSTEM", TIZEN_ERROR_SERVICE_ADAPTOR | 0x05, "Internal system module error"),
-       ERR_ENTRY("SERVICE_ADAPTOR_ERROR_INTERNAL", TIZEN_ERROR_SERVICE_ADAPTOR | 0x06, "Implementation Error"),
-#endif
-#if defined(TIZEN_ERROR_ACCOUNT_OAUTH)
-       ERR_ENTRY("OAUTH2_ERROR_PARSE_FAILED", TIZEN_ERROR_ACCOUNT_OAUTH | 0x01, "Response parse failed"),
-       ERR_ENTRY("OAUTH2_ERROR_NETWORK_ERROR", TIZEN_ERROR_ACCOUNT_OAUTH | 0x02, "Network error"),
-       ERR_ENTRY("OAUTH2_ERROR_SERVER", TIZEN_ERROR_ACCOUNT_OAUTH | 0x03, "Server error"),
-       ERR_ENTRY("OAUTH2_ERROR_USER_CANCELLED", TIZEN_ERROR_ACCOUNT_OAUTH | 0x04, "User cancelled the operation"),
-       ERR_ENTRY("OAUTH2_ERROR_VALUE_NOT_FOUND", TIZEN_ERROR_ACCOUNT_OAUTH | 0x05, "Value not found"),
-#endif
-#if defined(TIZEN_ERROR_CONTEXT)
-       ERR_ENTRY("CONTEXT_HISTORY_ERROR_OUT_OF_RANGE", TIZEN_ERROR_CONTEXT | 0x03, "Out of range"),
-       ERR_ENTRY("CONTEXT_HISTORY_ERROR_OPERATION_FAILED", TIZEN_ERROR_CONTEXT | 0x04, "Operation failed"),
-#endif
-#if defined(TIZEN_ERROR_CONTEXT)
-       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_OPERATION_FAILED", TIZEN_ERROR_CONTEXT | 0x04, "Operation failed"),
-       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_ENABLED", TIZEN_ERROR_CONTEXT | 0x05, "Rule is enabled"),
-       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_ENABLED", TIZEN_ERROR_CONTEXT | 0x06, "Rule is not enabled"),
-       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_INVALID_RULE", TIZEN_ERROR_CONTEXT | 0x07, "Invalid rule"),
-       ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_EXIST", TIZEN_ERROR_CONTEXT | 0x08, "Rule does not exist"),
-#endif
-#if defined(TIZEN_ERROR_MEDIA_VISION)
-       ERR_ENTRY("MEDIA_VISION_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_MEDIA_VISION | 0x01, "Not supported format"),
-       ERR_ENTRY("MEDIA_VISION_ERROR_INTERNAL", TIZEN_ERROR_MEDIA_VISION | 0x02, "Internal error"),
-       ERR_ENTRY("MEDIA_VISION_ERROR_INVALID_DATA", TIZEN_ERROR_MEDIA_VISION | 0x03, "Invalid data"),
-       ERR_ENTRY("MEDIA_VISION_ERROR_INVALID_PATH", TIZEN_ERROR_MEDIA_VISION | 0x04, "Invalid path"),
-#endif
-#if defined(TIZEN_ERROR_METADATA_EDITOR)
-       ERR_ENTRY("METADATA_EDITOR_ERROR_OPERATION_FAILED", TIZEN_ERROR_METADATA_EDITOR | 0x01, "Invalid internal operation"),
-#endif
-#if defined(TIZEN_ERROR_PHONENUMBER_UTILS)
-       ERR_ENTRY("PHONE_NUMBER_ERROR_SYSTEM", TIZEN_ERROR_PHONENUMBER_UTILS | 0xEF, "Internal error"),
-#endif
-#if defined(TIZEN_ERROR_PANEL)
-       ERR_ENTRY("SHARE_PANEL_ERROR_ALREADY_EXISTS", TIZEN_ERROR_PANEL | 0x01, "There is already a panel in the conformant"),
-       ERR_ENTRY("SHARE_PANEL_ERROR_NOT_INITIALIZED", TIZEN_ERROR_PANEL | 0x02, "The panel is not initialized yet"),
-       ERR_ENTRY("SHARE_PANEL_ERROR_INVALID_OPERATION", TIZEN_ERROR_PANEL | 0x03, "Not supported content category"),
-       ERR_ENTRY("ATTACH_PANEL_ERROR_ALREADY_DESTROYED", TIZEN_ERROR_PANEL | 0x05, "The panel is already removed"),
-#endif
-#if defined(TIZEN_ERROR_IOTCON)
-       ERR_ENTRY("IOTCON_ERROR_IOTIVITY", TIZEN_ERROR_IOTCON | 0x01, "Internal error"),
-       ERR_ENTRY("IOTCON_ERROR_REPRESENTATION", TIZEN_ERROR_IOTCON | 0x02, "Representation errors"),
-       ERR_ENTRY("IOTCON_ERROR_INVALID_TYPE", TIZEN_ERROR_IOTCON | 0x03, "Invalid type"),
-       ERR_ENTRY("IOTCON_ERROR_ALREADY", TIZEN_ERROR_IOTCON | 0x04, "Already"),
-       ERR_ENTRY("IOTCON_ERROR_DBUS", TIZEN_ERROR_IOTCON | 0x05, "D-Bus errors"),
-       ERR_ENTRY("IOTCON_ERROR_SYSTEM", TIZEN_ERROR_IOTCON | 0x06, "System errors"),
-#endif
-#if defined(TIZEN_ERROR_MEDIA_STREAMER)
-       ERR_ENTRY("MEDIA_STREAMER_ERROR_INVALID_STATE", TIZEN_ERROR_MEDIA_STREAMER | 0x01, "Invalid state"),
-       ERR_ENTRY("MEDIA_STREAMER_ERROR_CONNECTION_FAILED", TIZEN_ERROR_MEDIA_STREAMER | 0x02, "Connection failed"),
-       ERR_ENTRY("MEDIA_STREAMER_ERROR_RESOURCE_CONFLICT", TIZEN_ERROR_MEDIA_STREAMER | 0x03, "Resource conflict"),
-       ERR_ENTRY("MEDIA_STREAMER_ERROR_SEEK_FAILED", TIZEN_ERROR_MEDIA_STREAMER | 0x04, "Seek operation failure"),
-#endif
-#if defined(TIZEN_ERROR_MEDIA_DEMUXER)
-       ERR_ENTRY("MEDIA_STREAMER_ERROR_INVALID_STATE", TIZEN_ERROR_MEDIA_DEMUXER | 0x01, "Invalid state"),
-       ERR_ENTRY("MEDIADEMUXER_ERROR_INVALID_PATH", TIZEN_ERROR_MEDIA_DEMUXER | 0x02, "Invalid path"),
-       ERR_ENTRY("MEDIADEMUXER_ERROR_RESOURCE_LIMIT", TIZEN_ERROR_MEDIA_DEMUXER | 0x03, "Resource limit"),
-       ERR_ENTRY("MEDIADEMUXER_ERROR_SEEK_FAILED", TIZEN_ERROR_MEDIA_DEMUXER | 0x04, "Seek operation failure"),
-       ERR_ENTRY("MEDIADEMUXER_ERROR_DRM_NOT_PERMITTED", TIZEN_ERROR_MEDIA_DEMUXER | 0x05, "Not permitted format"),
-#endif
-#if defined(TIZEN_ERROR_MEDIA_MUXER)
-       ERR_ENTRY("MEDIAMUXER_ERROR_INVALID_STATE", TIZEN_ERROR_MEDIA_DEMUXER | 0x01, "Invalid state"),
-       ERR_ENTRY("MEDIAMUXER_ERROR_INVALID_PATH", TIZEN_ERROR_MEDIA_MUXER | 0x02, "Invalid path"),
-       ERR_ENTRY("MEDIAMUXER_ERROR_RESOURCE_LIMIT", TIZEN_ERROR_MEDIA_MUXER | 0x03, "Resource limit"),
-#endif
-       {0, NULL, NULL}
-};
 
 static __thread int tizen_last_error = TIZEN_ERROR_NONE;
 
diff --git a/tool/error_msg_template.xml b/tool/error_msg_template.xml
new file mode 100644 (file)
index 0000000..e770d96
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="apps/native/attach-panel">  <!-- git path -->
+       <error name="ATTACH_PANEL_ERROR_ALREADY_EXISTS">  <!-- The name of error enumerator -->
+               <value>TIZEN_ERROR_PANEL | 0x01</value>  <!-- The value of error enumerator. This value MUST be represented by error macro in tizen.h -->
+               <msg>There is already a panel in the conformant</msg>  <!-- The message of error enumerator -->
+       </error>
+       <error name="ATTACH_PANEL_ERROR_NOT_INITIALIZED">
+               <value>TIZEN_ERROR_PANEL | 0x02</value>
+               <msg>The panel is not initialized yet</msg>
+       </error>
+       <error name="ATTACH_PANEL_ERROR_UNSUPPORTED_CONTENT_CATEGORY">
+               <value>TIZEN_ERROR_PANEL | 0x03</value>
+               <msg>Not supported content category</msg>
+       </error>
+       <error name="ATTACH_PANEL_ERROR_ALREADY_DESTROYED">
+               <value>TIZEN_ERROR_PANEL | 0x05</value>
+               <msg>The panel is already removed</msg>
+       </error>
+</package>
+
diff --git a/tool/make_msg_header.py b/tool/make_msg_header.py
new file mode 100644 (file)
index 0000000..d2bdac2
--- /dev/null
@@ -0,0 +1,55 @@
+#python xml library import 
+from xml.etree.ElementTree import parse
+import os
+import sys
+import shutil
+
+curpath = os.path.dirname( os.path.abspath( __file__ ) )
+msgpath = os.path.join( curpath, "../error_messages/" )
+headerpath = os.path.join( curpath, "tizen_error_private.h" )
+
+shutil.copy( os.path.join( curpath, "tizen_error_private_template.h" ), headerpath )
+fp = open( headerpath, 'a' )
+
+fp.write( "\n#ifndef __TIZEN_COMMON_ERROR_PRIVATE_H__\n" )
+fp.write( "#define __TIZEN_COMMON_ERROR_PRIVATE_H__\n\n" )
+
+fp.write( "#ifdef __cplusplus\n" )
+fp.write( "extern \"C\" {\n" )
+fp.write( "#endif\n\n" )
+
+fp.write( "#define ERR_ENTRY(name, value, msg) {value, name, msg}\n\n" )
+fp.write( "typedef struct tizen_err_info {\n" )
+fp.write( "\tint value;\n" )
+fp.write( "\tconst char *name;\n" )
+fp.write( "\tconst char *msg;\n" )
+fp.write( "} err_info;\n\n" )
+
+fp.write( "static err_info err_list[] = {\n" );
+for root, dirs, files in os.walk( msgpath ):
+       for file in files:
+               targetXML = open( os.path.join( msgpath, file ) )
+               tree = parse( targetXML )
+               errorroot = tree.getroot()
+
+               for error in errorroot.findall( "error" ):
+                       fp.write( "\tERR_ENTRY(\"" )
+                       fp.write( error.get( "name" ) + "\", ")
+                       fp.write( error.findtext( "value" ) + ", \"" )
+                       fp.write( error.findtext( "msg" ) + "\"),\n" )
+
+fp.write( "\t{0, NULL, NULL}\n" )
+fp.write( "};\n" )
+
+fp.write( "\n#ifdef __cplusplus\n" )
+fp.write( "}\n" )
+fp.write( "#endif\n\n" )
+fp.write( "#endif\t/**<__TIZEN_COMMON_ERROR_PRIVATE_H__ */\n" )
+fp.close()
+
+privatepath = os.path.join( curpath, "../include/private/" )
+if not os.path.isdir( privatepath ):
+       os.mkdir( privatepath )
+
+os.remove( privatepath + "tizen_error_private.h" )
+shutil.move( headerpath, privatepath )
\ No newline at end of file
diff --git a/tool/tizen_error_private_template.h b/tool/tizen_error_private_template.h
new file mode 100644 (file)
index 0000000..96c53a8
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License. 
+ */
+
+