used as a way of saying that you are sorry about sth, usually ironically (= you really mean the opposite)
used as a way of saying that you are sorry about sth, usually ironically (= you really mean the opposite)
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition