Get error message from config file