pub fn execute_script(
engine: &Engine,
scope: &mut Scope<'_>,
script: &str,
) -> Result<StepResult>Expand description
Execute a Rhai script and return the StepResult.
On compile/runtime error the error message is returned as Continue so the
model can self-correct (the caller counts retries).