Purpose
Returns a message describing the current error. You can call this function from the MapBasic window in MapInfo Pro.
Syntax
Error$()
Return Value
String
Description
The Error$() function returns a character string describing the current run-time error, if an error has occurred. If no error has occurred, the Error$() function returns a null string.
The Error$() function should only be called from within an error handling routine. See Err() function for more information.
See Also:
Err() function, Error statement, OnError statement