Standardize errors and info messages in anticipation of displaying them