Inhaling gasoline fumes

Is inhaling gasoline fumes harmful? I was doing my husbands laundry (he works with fuel). The smell was sooo strong that my throat started itching. Will this harm my baby?