Used to process errors that occur during executing a transaction.
property OnError: TDATransactionErrorEvent;
Add a handler to the OnError event to process errors that occur during executing a transaction control statements such as Commit, Rollback. Check the E parameter to get the error code.