Provide a more useful error message when something fails in the transaction