Surface operators in $ \mathcal{N} $ = 2 4d gauge theories