MCPcopy Create free account
hub / github.com/cel-expr/cel-go / ParserErrorRecoveryLimit

Function ParserErrorRecoveryLimit

cel/options.go:1182–1184  ·  view source on GitHub ↗

ParserErrorRecoveryLimit sets the number of attemtps the parser will take to recover after encountering an error.

(limit int)

Source from the content-addressed store, hash-verified

1180// ParserErrorRecoveryLimit sets the number of attemtps the parser will take
1181// to recover after encountering an error.
1182func ParserErrorRecoveryLimit(limit int) EnvOption {
1183 return setLimit(limitParseErrorRecovery, limit)
1184}
1185
1186// ParserExpressionSizeLimit adjusts the number of code points the expression parser is allowed to parse.
1187// Defaults are defined in the parser package. A negative value means unbounded.

Callers 1

Calls 1

setLimitFunction · 0.85

Tested by 1