Err function (LotusScript® Language)

Returns the current error number.

Syntax

Err

Return value

Err returns an Integer. If there is no current error, Err returns FALSE (0).

Usage

The error number is set when an error occurs, or by the Err statement. Generally, the function Err is used within an error-handling routine.

You can call the function as either Err or Err().

Example