--formated the error messages.