if node.exists and not is_numeric_type(old_val):
                _id = fieldwalker.doc["_id"]
                value_type = type(old_val).__name__
                msg = (
                    "Cannot apply $inc to a value of non-numeric type. "