Standardize error messages.