used to express anger
of all the…
I've locked myself out. Of all the stupid things to do!
Definiciones del Oxford Advanced Learner's Dictionary, 9.ª edición