Add missing error specification in ZM_CreateEvent.