Result type: text
Definition: Returns the last error message that MoneyWorks utput to its log file. If you are scripting an import, this can be useful to figure out why an import failed, for example. Note that it is only useful to call this function in response to some other function call failing that you know outputs a message to the log. Otherwise you will likely just receive a stale, unrelated message.