The DQ.GETLASTERROR
function is a member of the data quality class. It returns an error
message describing the most recent error encountered by a data quality
object. The error might have occurred during invocation of any other
data quality member function.
A best practice for
programmers is to check the result code for each data quality call.
If a result code indicates failure, use DQ.GETLASTERROR to retrieve
the associated error message.