When a vacancy shall occur in the office of senator or representative in the general assembly, except by resignation, the auditor of the county of the senator’s or representative’s residence shall notify the governor of such fact and the cause.