예제 #1
0
        public virtual FeelMissingVariableException unknownVariable(string feelExpression, FeelMissingVariableException cause)
        {
            string variable = cause.GetVariable();

            return(new FeelMissingVariableException(this.ExceptionMessage("009", "Unable to resolve variable '{}' in expression '{}'", new object[] { variable, feelExpression }), variable));
        }
예제 #2
0
 public virtual FeelException unableToEvaluateExpressionAsNotInputIsSet(string simpleUnaryTests, FeelMissingVariableException e)
 {
     return(new FeelException(this.ExceptionMessage("017", "Unable to evaluate expression '{0}' as no input is set. Maybe the inputExpression is missing or empty.", new object[] { simpleUnaryTests }), e));
 }