Error Handling With ON EXCEPTION RESUME

The ON EXCEPTION RESUME clause is included in the CREATE PROCEDURE statement.

The procedure checks the statement when an error occurs. If the statement handles the error, then the procedure does not return control to the calling environment when an error occurs. Instead, it continues executing, resuming at the statement after the one causing the error.

See SQL Anywhere Server - SQL Usage > Stored Procedures and Triggers > Using procedures, triggers, and batches > Errors and warnings in procedures and triggers > Error handling with ON EXCEPTION RESUME.

Note: This reference points to SQL Anywhere documentation.