Error handling

All CS-Library routines return success or failure indications. Sybase strongly recommends that applications check these return codes.

In addition, CS-Library routines can generate CS-Library messages, which range in severity from informational messages to fatal errors. Applications should take steps to receive and handle these messages. In most cases, when a CS-Library routine fails, CS-Library generates a message that describes the reason for the failure.