Format error messages
Format error messages in short style