Consarn it spoken language
An exclamation used to express frustration or exasperation
Consarn it! I've failed the exam again.
Nothing has gone according to my plan at all. Consarn it!
Consarn it! Where did I put my key? It should have been here.
Come out of a difficult situation without a stain on one's character
I don't understand how he can fall in shit and come out smelling like a rose.