A variation of the ever-popular damn.
Used mostly by old people, as (according to them) damn is too harsh a swear word to be uttered.
Used to show great frustration or annoyance or to reinforce/exclaim a point.