Using an Error Handler to Handle Siebel VB Errors

The following image includes an example that uses an error handler to handle errors.

Example That Handles Errors With an Error Handler. This image is described in surrounding text.

Explanation of Callouts

The example that uses an error handler to handle errors includes the following items:

  1. 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.

  2. You precede the code with an Exit statement to make sure that it does not accidentally proceed to the error handler.