public SearchExpressionEvaluatorException(string message, StringView errorPosition, SearchExpressionContext c, Exception innerException = null) : base(FormatDefaultEvaluationExceptionMessage(c, message), innerException) { if (errorPosition.IsNullOrEmpty()) { errorView = new StringView(c.search.searchText); } else { errorView = errorPosition; } evaluationContext = c; }