def METHOD_NAME(self, data):
    self.Error.non_continuous.clear()
    if data:
        try:
            self.data_points_interpolate = InterpolateToDomain(target=data)
        except NotAllContinuousException:
            self.data_points_interpolate = None
            self.Error.non_continuous()
    else:
        self.data_points_interpolate = None
    self._update_input_type()