I was just about to add that it's important to distinguish between "harsh" and "mean."
"Dude, you fucked up" is harsh but not mean, and while it isn't to everyone's taste, it can be a bitter pill that provides the cure. It doesn't really cross the line to mean until the intent becomes more of making someone feel bad than pushing them to get better.