error messages are moved to settings variable so that user can modify by configuration.