Given a set of measured data ( temperature ), I need to estimate parameters of the exponential function which I suppose be the best fit:
$y=A+C(1-e^{-t/\tau}$)
From an operative point of view, given the samples $(t_i,y_i)$, I need to make a script which output the estimate of $\tau$ or nothing if the estimation error is to high.
The errors on $y_i$ are supposed to be gaussian-distributed, and, for now, $t_i$ are supposed to be error-free.
Moreover, $A$ and $C$ can be supposed to be supposed to be known? $y(\infty)=A+C$ and $y(0)=A$.



To fix the "frame" you need first to establish some important assumptions:
1) are the $t_i$ supposed to error-free ? and the "error" (random fluctuation) be only on the $y_i$ ? (which is the "standard" perspective)
2) is the error on the $y_i$ supposed to be gaussian (or else: uniform,..), in absolute or relative terms ?
Only after establishing the above you can , "..reliably", proceed with the appropriate statistics for parameters estimation / rejection.
addendum
So, with the clarifications added to your post, we have $$ y = A + C\left( {1 - e^{\, - t/\tau } } \right) = A + C - C\,e^{\, - t/\tau } $$ onto which we can perform the regression by the Least Squares method.
The problem is that the exponential, specially with a constant additional term, is not "nicely" manageable within the LS scheme.
If $Y_0=A$ is known from physical considerations, and possibly also $Y_{\infty}=A+C$ then the difficulty is quite reduced. But the problem of the exponential remain: the derivative of the square error involves a sum of powers of the variable.
To my experience, the best approach hinges on expressing the exponential through a truncated Taylor series, possibly not over the 2nd degree and in case made piecewise, by appropriately partitioning the time range.
That much depend on the expected range for $t_{min}/\tau, \; t_{max}/\tau$, which determine the truncation error. This shall be negligible wrt the expected $\sigma$ for $y$.
If that is possible, then you can proceed with a linear / quadratic regression, in case over a splitted time-range.