Irony is a device or situation that expresses something other than or opposite of the literal meaning. It can be used in spoken or written form, often with a humorous or sardonic effect. There are different types of irony, such as verbal irony, where words contradict their actual meaning, dramatic irony, where the audience knows more than the characters, and situational irony, where what is expected and what occurs are incongruent
So the answer is sarcasm