Writing good error messages is an art form. It's important though because the error messages are often the only communication with the user in an already frustrating situation for said user. More about this sensitive topic on my blog at Solid Error Messages.