Make error message more expressive.
Use correct event class.