You may want to intercept certain types of errors and handle them within a procedure, rather than pass the error back to the calling environment. This is done through the use of an exception handler.
See ”Using exception handlers in procedures and triggers” in SQL Anywhere Server - SQL Usage.
Sybase IQ does not support triggers. Information on triggers in the SQL Anywhere documentation can be ignored.