I've heard this что за ... before (not sure where .. maybe бумер ).

How is it different to какой / какая ?

Like "какое несчастья!" hmm think I heard that in служебный роман

In English you can say "Such unhappiness!" but also (more usual) "What unhappiness!"