Exception handling
The DataBlade® API provides
routines for handling exceptions.
Table 1. DataBlade API functions
for handling exceptions
Function category |
DataBlade API function |
Raising a database exception |
mi_db_error_raise() |
|
Accessing an error descriptor |
mi_errmsg() mi_error_desc_copy() mi_error_desc_destroy() mi_error_desc_finish() mi_error_desc_is_copy() |
mi_error_desc_next() mi_error_level() mi_error_sqlcode() mi_error_sql_state() |
Using callback functions |
mi_default_callback() mi_disable_callback() mi_enable_callback() |
mi_register_callback() mi_retrieve_callback() mi_unregister_callback() |
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.