Better message for unsupported loss in ostr
@@ -90,7 +90,7 @@ static TEvaluateDerivativesFunc GetEvaluateDerivativesFunc(ELossFunction lossFun
case ELossFunction::Poisson:
return EvaluateDerivativesForError<TPoissonError>;
default:
- CB_ENSURE(false, "provided error function is not supported yet");
+ CB_ENSURE(false, "Error function " + ToString(lossFunction) + " is not supported yet in ostr mode");
}
}
