From CFA glossary
Error term: The portion of the dependent variable that is not explained by the independent variable in the regression.
Sum of squared errors: measures the unexplained variation in the dependent variable. It’s also known as the sum of squared residuals or the residual sum of squares.
To me, the definition points to the same thing.