This version of Unity is unsupported.

SearchExpressionContext.ThrowError

Declaration

public void ThrowError(string message);

Declaration

public void ThrowError(string message, stringView errorPosition);

Description

Stop a SearchExpression evaluation by throwing a SearchExceptionEvaluatorException. User writing an evaluator can decide to throw thse exceptions if the parameters passed to evaluation are not valid or if a problem happens during evaluation.