Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.