EXCEPT.MSG() Function
The DataBasic EXCEPT.MSG function returns the last exception message, which can be multi-valued. If no exception has been generated or no exception message was supplied, a null string is returned.
Syntax
EXCEPT.MSG()
Example
PRINT "The following error has occurred" PRINT PRINT "Number: ":EXCEPT.NUM() PRINT "Description: ":EXCEPT.MSG()
Displays the details of the exception that has been thrown.