You can use the event AfterApplyUpdates
which provides you with a list of the records updated and each of them has error information, if it exists.
Here is an example of use of AfterApplyUpdates (for a different purpose): TxDataWebDataset / ID AutoInc - #3 by wlandgraf
Besides the “Bookmark” property displayed in the example, there are others, Error is one of them.