diff --git a/docs/pyerrors/fits.html b/docs/pyerrors/fits.html
index 735950cd..17854ff3 100644
--- a/docs/pyerrors/fits.html
+++ b/docs/pyerrors/fits.html
@@ -300,10 +300,10 @@
192 key_ls = sorted(list(xd.keys()))
193
194 if sorted(list(yd.keys())) != key_ls:
-195 raise Exception('x and y dictionaries do not contain the same keys.')
+195 raise ValueError('x and y dictionaries do not contain the same keys.')
196
197 if sorted(list(funcd.keys())) != key_ls:
-198 raise Exception('x and func dictionaries do not contain the same keys.')
+198 raise ValueError('x and func dictionaries do not contain the same keys.')
199
200 x_all = np.concatenate([np.array(xd[key]) for key in key_ls])
201 y_all = np.concatenate([np.array(yd[key]) for key in key_ls])
@@ -323,7 +323,7 @@
215 if not callable(funcd[key]):
216 raise TypeError('func (key=' + key + ') is not a function.')
217 if np.asarray(xd[key]).shape[-1] != len(yd[key]):
-218 raise Exception('x and y input (key=' + key + ') do not have the same length')
+218 raise ValueError('x and y input (key=' + key + ') do not have the same length')
219 for i in range(100):
220 try:
221 funcd[key](np.arange(i), x_all.T[0])
@@ -788,7 +788,7 @@
680 out = least_squares(x, y, f, **kwargs)
681 return out.fit_parameters
682 else:
-683 raise Exception('Unsupported types for x')
+683 raise TypeError('Unsupported types for x')
684
685
686def qqplot(x, o_y, func, p, title=""):
@@ -1208,10 +1208,10 @@ Hotelling t-squared p-value for correlated fits.
193 key_ls = sorted(list(xd.keys()))
194
195 if sorted(list(yd.keys())) != key_ls:
-196 raise Exception('x and y dictionaries do not contain the same keys.')
+196 raise ValueError('x and y dictionaries do not contain the same keys.')
197
198 if sorted(list(funcd.keys())) != key_ls:
-199 raise Exception('x and func dictionaries do not contain the same keys.')
+199 raise ValueError('x and func dictionaries do not contain the same keys.')
200
201 x_all = np.concatenate([np.array(xd[key]) for key in key_ls])
202 y_all = np.concatenate([np.array(yd[key]) for key in key_ls])
@@ -1231,7 +1231,7 @@ Hotelling t-squared p-value for correlated fits.
216 if not callable(funcd[key]):
217 raise TypeError('func (key=' + key + ') is not a function.')
218 if np.asarray(xd[key]).shape[-1] != len(yd[key]):
-219 raise Exception('x and y input (key=' + key + ') do not have the same length')
+219 raise ValueError('x and y input (key=' + key + ') do not have the same length')
220 for i in range(100):
221 try:
222 funcd[key](np.arange(i), x_all.T[0])
@@ -1880,7 +1880,7 @@ Parameters and information on the fitted result.
681 out = least_squares(x, y, f, **kwargs)
682 return out.fit_parameters
683 else:
-684 raise Exception('Unsupported types for x')
+684 raise TypeError('Unsupported types for x')