文档

Unity Engine

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.
阅读时间1 分钟最后更新于 1 个月前

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