Normalize error messages.