<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_parameter_error(self, name, par, error):
 """Set the error on the value of a parameter. Parameters name : str Source name. par : str Parameter name. error : float The value for the parameter error """

        idx = self.like.par_index(name, par)
        self.like[idx].setError(error)
        self._sync_params(name)