Returns an error message for either a specified error number or the current error.
Error[$] [ ( errNumber ) ]
errNumber
A numeric expression whose value is an error number. If no errNumber is specified, LotusScript returns the message for the current (most recent) error.
Error returns a Variant, and Error$ returns a String. If no errNumber is specified, and there is no current error, the function returns the empty string ("").
You can call the Error function with no arguments as either Error or Error( ). You can call the Error$ function with no arguments as either Error$ or Error$( ).
@Error function in formula language
@IsError function in formula language
See examples