User-defined exception signaled

Error constant SQLE_USER_DEFINED_EXCEPTION
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 16
SQLCODE –297
SQLSTATE 99999
Sybase error code 13662
Probable cause

A stored procedure or trigger signaled a user-defined exception. This error state is reserved for use within stored procedures or triggers that contain exception handlers, as a way of signaling an exception that can be guaranteed to not have been caused by the database server. Valid SQLSTATE values range from 99000 to 99999 and are set by the user when executing the signal SQL statement.