Config validation error message

* Show the config validation error through the showError method.
* Proper formatting of source code in showError method