Error handling

An Open Server application should install a message callback routine with the cs_config routine to report CS-Library errors. A standard Open Server error handler installed with srv_props will not catch CS-Library errors, such as data conversion errors generated in a call to cs_convert.

If an Open Server application has not installed a CS-Library handler, Open Server installs a default handler when the application calls srv_version. This default handler writes CS-Library errors to the Open Server log.

For details on handling CS-Library errors and for more general information about CS-Library, see the Open Client and Open Server Common Libraries Reference Manual.