Siebel VB Language Reference > Methods Reference for Siebel VB > Error Handling Methods >

Get Error Code Method


The Get Error Code method returns the error code of the last Visual Basic error handled. You can use the Err statement or the Error statement to set the value for this method.

You cannot use the Get Error Code method to view a Siebel VB error. Instead, you use the appropriate method for the COM or ActiveX Siebel interface that you are using. For more information, see Siebel Object Interfaces Reference.

For more information, see Error Code and Error Text for Siebel VB Errors.

Format

Err

This method does not include arguments.

Example

For examples, see Get Error Code Line Method and Get Error Message Method.

Siebel VB Language Reference Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.