Ploting the error list in linear regression

when we are using plt.plot(error_list) then the graph shown is error_list vs what???(error is depending on what factor)

vs No of iterations
We are using the squared error


The dotted green line from the original data to our predicted line is the error