It is called dramatic irony. I have even found you the example.
American Dreams: 'A Time to Be Born' by Dawn Powell Nathaniel Rich May 24, 2012 Prague Fatale is authentic because Kerr can muffle the horror of this epochin dramatic irony but he can also shout it out loud.