Function regorust::regoSetStrictBuiltInErrors

source ยท
pub unsafe extern "C" fn regoSetStrictBuiltInErrors(
    rego: *mut regoInterpreter,
    enabled: regoBoolean,
)
Expand description

Sets whether the built-ins should throw errors.

When strict built-in errors are enabled, built-in functions will throw errors when they encounter invalid input. When disabled, built-in functions will return undefined when they encounter invalid input.

@param rego The interpreter. @param enabled Whether strict built-in errors should be enabled.