Error Message

How to write Error Message, good and friendly to users.
Good error messages should not be said that 'An error' but must say what happened and what should the user do next? Learn the technique of writing error messages that help solve problems for users.