Used to express surprise or anger without a hint of profanity or blasphemy.
An euphemism of god damn.