public virtual FeelConvertException unableToConvertValue(string feelExpression, FeelConvertException cause) { object value = cause.GetValue(); Type type = cause.GetType(); return(new FeelConvertException(this.ExceptionMessage("015", "Unable to convert value '{}' of type '{}' to type '{}' in expression '{}'", new object[] { value, value.GetType(), type, feelExpression }), cause)); }
public FeelConvertException(String message, FeelConvertException convertException) : base(message, convertException) { this.value = convertException.GetValue(); this.type = convertException.GetType(); }