Update and standardize error message.