Improved error messages passed to events.