/Engine/Source/Developer/SourceControl/Public/SourceControlHelpers.h
Get status text set by SourceControl system if an error occurs regardless whether bSilent is set or not. Only set if there was an error.
static [FText](API\Runtime\Core\Internationalization\FText) LastErrorMsg()