Modified the default error message when a transaction fails.