I'm looking to evaluate $$\int_{-\infty}^{\infty} \frac{e^{-{ax}^2}}{1+x^2} dx$$ where $a$ is real.
The "obvious" thing to try is a semi-circular contour integral in the upper or lower half plane, but this doesn't work because $e^{-{ax}^2}$ blows up along the imaginary axis.
We need $a\geq 0$ to ensure convergence. Assuming $a>0$, the Fourier transform of $\frac{1}{1+x^2}$ is $\sqrt{\frac{\pi}{2}} e^{-|s|}$ and the Fourier transform of $e^{-ax^2}$ is $\frac{1}{\sqrt{2a}}e^{-\frac{s^2}{4a}}$, hence the original integral equals $$\sqrt{\frac{\pi}{a}}\int_{0}^{+\infty}\exp\left(-\frac{s^2}{4a}-s\right)\,ds = \color{red}{\pi e^a\text{Erfc}\sqrt{a}} $$ which is not an elementary function and depends on the CDF of a normal random variable.