Can I make a refractive material ignore a mesh

I’m trying to make a mesh sit inside a refractive bubble with everything except it refracting.
Any help is appreciated