Added ErrorEvent.