The best statement that analyzes how Hugo uses irony in this example is:
Hugo uses dramatic irony by creating a situation where the audience knows something that the main character does not.
This is because the audience is aware that the gypsies are coming to rescue Esmeralda, while Quasimodo believes they are a threat, creating a disconnect between his perception and the reality known to the audience.