Overview of Error Handling
Siebel VB includes the following error handling statements and functions:
Err
Error
On Error
Siebel VB returns a code for many of the run-time errors that you might encounter. For more information, see Error Code and Error Text for Siebel VB Errors.
You can write code that uses the On Error statement in the following ways:
Add code that handles the error immediately before a line of code where an error might occur. For example, after a File Open statement.
Label a separate section of the code only for error handling and instruct Siebel VB to proceed to this label if an error occurs.