Error handler return values

Client-Library and DB-Library require different error handler return values:

Note that error handler return values cannot directly cause Client-Library to abort the program.

The behavior of INT_CONTINUE is built into CS_SUCCEED.

In order to duplicate the behavior of INT_TIMEOUT, a Client-Library application must call ct_cancel(CS_CANCEL_ATTN) from the callback routine.

The error and severity codes for DB-Library errors do not map directly to Client-Library and CS-Library error and severity codes.

For more information: