I can use profanity in my communication, but I would never put foul language in an error.. same as I wouldn't in documentation or a formal letter.
Just imagine a pop-up dialogue box on Windows or OSX showing an error with "Weird Shit!" in it. Could you?