Update an error message.