Like everywhere else the basic design principle of contrast also holds in the tone of error messages.
If you shout all the time, nobody will listen when you really mean it. Likewise, if you are sorry all the time, nobody will take your apology serious.