Official Content

It is used to assign an error code returned by a function or a method. Also, it is automatically loaded when using the Error_Handler ruleError_Handler command, or New command.


Data Type:
Numeric(3)

Description

You can use this standard variable to assign to it the result returned by a function or a method.
In addition, it is automatically loaded when using the Error_Handler ruleError_Handler command, or New command.

Samples

The Login method returns an error code, so you can call it as follows:

&Err = &DataType.Login()

The Delete method returns an error code, so you can call it as follows:

&Err = &DataType.Delete()

See Also

ErrMsg variable
Error_Handler rule
Error_Handler command
New command



Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant