Add event error assert method