Loss function in GradientBoostingRegressor
Note that the algorithm is called Gradient Boostign Regressor.
The idea is that you boost decision trees minimizing the gradient. This gradient is a loss function that can take more forms.
The algorithm aggregates each decision tree in the error of the previously fitted and predicted decision tree. There you have your desired loss function.
This parameter is regarding to that.