An exclamation to notify someone that they have done something really stupid
If something has done something truly stupid and uncalled for, like setting a church with people inside on fire, you'd say.
"OH MAH GAWD, FREDDY! DARN IT, THAT'S LIKE BOILING FLOWERS IN THE WING!"