17 #ifndef __TIZEN_COMMON_ERROR_H__ 18 #define __TIZEN_COMMON_ERROR_H__ 31 #define TIZEN_ERROR_MAX_PLATFORM_ERROR 0 32 #define TIZEN_ERROR_MIN_PLATFORM_ERROR (-1073741824LL) 35 #define TIZEN_ERROR_MIN_MODULE_ERROR (-2147483648LL) 38 #define TIZEN_ERROR_MAX_MODULE_ERROR (TIZEN_ERROR_MIN_PLATFORM_ERROR - 1) 41 #define TIZEN_ERROR_IS_OK(x) (0 <= (x)) 44 #define TIZEN_ERROR_IS_ERROR(x) (!TIZEN_ERROR_IS_OK(x)) 47 #define TIZEN_ERROR_IS_PLATFORM_ERROR(x) (TIZEN_ERROR_MIN_PLATFORM_ERROR <= (x) && (x) < 0) 50 #define TIZEN_ERROR_APPLICATION_CLASS -0x00000200 52 #define TIZEN_ERROR_BASE_CLASS -0x00000400 54 #define TIZEN_ERROR_CONTENT_CLASS -0x00000800 56 #define TIZEN_ERROR_LOCATION_CLASS -0x00001000 58 #define TIZEN_ERROR_MULTIMEDIA_CLASS -0x00002000 60 #define TIZEN_ERROR_MESSAGING_CLASS -0x00004000 62 #define TIZEN_ERROR_NETWORK_CLASS -0x00008000 64 #define TIZEN_ERROR_SOCIAL_CLASS -0x00010000 66 #define TIZEN_ERROR_SYSTEM_CLASS -0x00020000 68 #define TIZEN_ERROR_TELEPHONY_CLASS -0x00040000 70 #define TIZEN_ERROR_UI_CLASS -0x00080000 72 #define TIZEN_ERROR_UIX_CLASS -0x00100000 74 #define TIZEN_ERROR_AD_CLASS -0x00200000 76 #define TIZEN_ERROR_WEB_CLASS -0x00400000 78 #define TIZEN_ERROR_DRM_CLASS -0x00800000 80 #define TIZEN_ERROR_ACCOUNT_CLASS -0x01000000 83 #define TIZEN_ERROR_ACCOUNT -0x01000000 85 #define TIZEN_ERROR_ACCOUNT_OAUTH -0x01010000 87 #define TIZEN_ERROR_SYNC_MANAGER -0x01020000 89 #define TIZEN_ERROR_FIDO -0x01030000 91 #define TIZEN_ERROR_APPLICATION -0x01100000 93 #define TIZEN_ERROR_APPLICATION_MANAGER -0x01110000 95 #define TIZEN_ERROR_BADGE -0x01120000 97 #define TIZEN_ERROR_MESSAGE_PORT -0x01130000 99 #define TIZEN_ERROR_NOTIFICATION -0x01140000 101 #define TIZEN_ERROR_PACKAGE_MANAGER -0x01150000 103 #define TIZEN_ERROR_SHORTCUT -0x01160000 105 #define TIZEN_ERROR_BUNDLE -0x01180000 107 #define TIZEN_ERROR_DATA_CONTROL -0x01190000 109 #define TIZEN_ERROR_SERVICE_APPLICATION -0x01200000 111 #define TIZEN_ERROR_MINICONTROL -0x01210000 113 #define TIZEN_ERROR_UTILITY_ICU -0x01500000 115 #define TIZEN_ERROR_MIME_TYPE -0x01600000 117 #define TIZEN_ERROR_MEDIA_CONTENT -0x01610000 119 #define TIZEN_ERROR_EMAIL_SERVICE -0x01700000 121 #define TIZEN_ERROR_MESSAGING_SERVICE -0x01710000 123 #define TIZEN_ERROR_PUSH -0x01720000 125 #define TIZEN_ERROR_AUDIO_IO -0x01900000 127 #define TIZEN_ERROR_CAMERA -0x01910000 129 #define TIZEN_ERROR_IMAGE_UTIL -0x01920000 131 #define TIZEN_ERROR_METADATA_EXTRACTOR -0x01930000 133 #define TIZEN_ERROR_PLAYER -0x01940000 135 #define TIZEN_ERROR_RECORDER -0x01950000 137 #define TIZEN_ERROR_SOUND_MANAGER -0x01960000 139 #define TIZEN_ERROR_TONE_PLAYER -0x01970000 141 #define TIZEN_ERROR_VIDEO_UTIL -0x01980000 143 #define TIZEN_ERROR_WAV_PLAYER -0x01990000 145 #define TIZEN_ERROR_RADIO -0x019A0000 147 #define TIZEN_ERROR_MEDIACODEC -0x019B0000 149 #define TIZEN_ERROR_METADATA_EDITOR -0x019C0000 151 #define TIZEN_ERROR_MEDIA_VISION -0x019D0000 153 #define TIZEN_ERROR_MEDIA_DEMUXER -0x019E0000 155 #define TIZEN_ERROR_MEDIA_MUXER -0x019F0000 157 #define TIZEN_ERROR_MEDIA_STREAMER -0x01A00000 159 #define TIZEN_ERROR_STREAMRECORDER -0x01A10000 161 #define TIZEN_ERROR_MEDIA_TOOL -0x01A20000 163 #define TIZEN_ERROR_BLUETOOTH -0x01C00000 165 #define TIZEN_ERROR_CONNECTION -0x01C10000 167 #define TIZEN_ERROR_NFC -0x01C20000 169 #define TIZEN_ERROR_SERIAL -0x01C30000 171 #define TIZEN_ERROR_TETHERING -0x01C40000 173 #define TIZEN_ERROR_WIFI -0x01C50000 175 #define TIZEN_ERROR_WIFI_DIRECT -0x01C60000 177 #define TIZEN_ERROR_SMARTCARD -0x01C70000 179 #define TIZEN_ERROR_IOTCON -0x01C80000 181 #define TIZEN_ERROR_SSDP -0x01C90000 183 #define TIZEN_ERROR_DNSSD -0x01CA0000 185 #define TIZEN_ERROR_VPNSVC -0x01CB0000 187 #define TIZEN_ERROR_MTP -0x01CC0000 189 #define TIZEN_ERROR_HTTP -0x01CD0000 191 #define TIZEN_ERROR_WIFI_MANAGER -0x01CE0000 193 #define TIZEN_ERROR_PRIVACY_MANAGER -0x01E00000 195 #define TIZEN_ERROR_KEY_MANAGER -0x01E10000 197 #define TIZEN_ERROR_PRIVILEGE_INFORMATION -0x01E20000 199 #define TIZEN_ERROR_CSR -0x01E30000 201 #define TIZEN_ERROR_CALENDAR -0x02000000 203 #define TIZEN_ERROR_CONTACTS -0x02010000 205 #define TIZEN_ERROR_PHONENUMBER_UTILS -0x02020000 207 #define TIZEN_ERROR_STORAGE -0x02200000 209 #define TIZEN_ERROR_VCONF -0x02210000 211 #define TIZEN_ERROR_DEVICE -0x02400000 213 #define TIZEN_ERROR_DLOG -0x02410000 215 #define TIZEN_ERROR_MEDIA_KEY -0x02420000 217 #define TIZEN_ERROR_RUNTIME_INFORMATION -0x02430000 219 #define TIZEN_ERROR_SENSOR -0x02440000 221 #define TIZEN_ERROR_SYSTEM_INFORMATION -0x02450000 223 #define TIZEN_ERROR_SYSTEM_SETTING -0x02460000 225 #define TIZEN_ERROR_SYSTEM_RESOURCE -0x02470000 227 #define TIZEN_ERROR_CONTEXT -0x02480000 229 #define TIZEN_ERROR_HEALTH -0x02490000 231 #define TIZEN_ERROR_FEEDBACK -0x024A0000 233 #define TIZEN_ERROR_USB_HOST -0x024B0000 235 #define TIZEN_ERROR_TELEPHONY -0x02600000 237 #define TIZEN_ERROR_EFL_UTIL -0x02800000 239 #define TIZEN_ERROR_UTILX -0x02810000 241 #define TIZEN_ERROR_NATIVE_BUFFER -0x02820000 243 #define TIZEN_ERROR_TBM -0x02830000 245 #define TIZEN_ERROR_EOM -0x02840000 247 #define TIZEN_ERROR_PANEL -0x02850000 249 #define TIZEN_ERROR_TZSH -0x02860000 251 #define TIZEN_ERROR_DOWNLOAD -0x02A00000 253 #define TIZEN_ERROR_WEBVIEW -0x02A10000 255 #define TIZEN_ERROR_LOCATION_MANAGER -0x02C00000 257 #define TIZEN_ERROR_GEOFENCE_MANAGER -0x02C10000 259 #define TIZEN_ERROR_MAPS_SERVICE -0x02C20000 261 #define TIZEN_ERROR_STT -0x02F00000 263 #define TIZEN_ERROR_TTS -0x02F10000 265 #define TIZEN_ERROR_IME -0x02F20000 267 #define TIZEN_ERROR_SERVICE_ADAPTOR -0x02F30000 269 #define TIZEN_ERROR_WIDGET -0x02F40000 271 #define TIZEN_ERROR_VOICE_CONTROL -0x02F50000 273 #define TIZEN_ERROR_ASP -0x02F60000 275 #define TIZEN_ERROR_ZIGBEE -0x02F70000 277 #define TIZEN_ERROR_STC -0x02F80000 279 #define TIZEN_ERROR_THUMBNAIL_UTIL -0x02F90000 281 #define TIZEN_ERROR_JOB_SCHEDULER -0x02FA0000 283 #define TIZEN_ERROR_SOFTAP -0x02FB0000 285 #define TIZEN_ERROR_COMPLICATION -0x02FC0000 287 #define TIZEN_ERROR_DEVICE_CERTIFICATE_MANAGER -0x02FD0000 289 #define TIZEN_ERROR_INM -0x02FE0000 291 #define TIZEN_ERROR_UPDATE_CONTROL -0x02FF0000 293 #define TIZEN_ERROR_MULTI_ASSISTANT -0x03000000 295 #define TIZEN_ERROR_AUTOFILL -0x03010000 297 #define TIZEN_ERROR_MEDIA_CONTROLLER -0x03020000 299 #define TIZEN_ERROR_COMPONENT_MANAGER -0x03030000 408 TIZEN_ERROR_END_OF_COLLECTION,
char * get_error_message(int err)
Gets the message for given the error code. .
int get_last_result(void)
Gets the last error code in the thread. .
void set_last_result(int err)
Sets the last error code to be returned in the thread. .
tizen_error_e
Enumeration for tizen errors. .