protected void GetScalarValueFromEnvironment(IExecutionEnvironment env, string fieldToRetrieve, out string result, out string error)
 {
     error  = "";
     result = null;
     if (fieldToRetrieve == GlobalConstants.ErrorPayload)
     {
         result = env.FetchErrors();
         return;
     }
     try
     {
         result = ExecutionEnvironment.WarewolfEvalResultToString(env.Eval(DataListUtil.AddBracketsToValueIfNotExist(fieldToRetrieve), 0));
     }
     catch (Exception err)
     {
         error = err.Message;
     }
 }
 public string FetchErrors() => _inner.FetchErrors();
Exemple #3
0
 public string FetchErrors()
 {
     return(_inner.FetchErrors());
 }