Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ThrowError

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.
Read time 1 minuteLast updated 10 days ago

Definition

ThrowError(string)

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.
public void ThrowError(string message)

Parameters

message

ThrowError(string, StringView)

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.
public void ThrowError(string message, StringView errorPosition)

Parameters

message


errorPosition