occurs when a character’s words mean the opposite of their literal meaning.​

This is an example of verbal irony, where the speaker intends to convey a different meaning to what is actually being said. The opposite of the literal meaning may be ironic or sarcastic, and is often used to create humor or highlight a contrast between what is said and what is meant.