System.GetLastErrorText(Boolean) Method
Version: Available or changed with runtime version 7.0.
Gets the last error that occurred in the debugger.
Syntax
String := System.GetLastErrorText(ExcludeCustomerContent: Boolean)
Note
This method can be invoked without specifying the data type name.
Parameters
ExcludeCustomerContent
Type: Boolean
Exclude sensitive data, such as primary key values, from the error message.
Return Value
String
Type: Text
Remarks
If you call the GetLastErrorText method immediately after you call the ClearLastError method, then an empty string is returned.
The result of the GetLastErrorCode Method is not translated into the local language. The result of the GetLastErrorText method is translated into the local language.