A callback method that handles transaction errors.
handleEvent(error)
This method does not return anything.