Using an Error Handler to Handle Siebel VB Errors
The following image includes an example that uses an error handler to handle errors.

Explanation of Callouts
The example that uses an error handler to handle errors includes the following items:
The On Error statement identifies the line of code that Siebel CRM runs if an error occurs. The code segment is part of the main code and it uses the Err statement to determine the error code that Siebel VB returns.
You precede the code with an Exit statement to make sure that it does not accidentally proceed to the error handler.