= old else new = nil.
Value.to_string()); builder } fn read_as<P, E>(file: &str, format: &str, parser: P) -> Option<Val<MapValue>> { read_as(&path, "JSON", |path| serde_json::from_str(path)) } fn iter_with_rng_from<R: Rng>(&self, rng: R, comment: Option<S>, ) -> std::result::Result<Option<LuaValue>, LuaError> where P: for<'a> Fn(&'a str) -> std::result::Result<V, E>, E: std::fmt::Display, { parser(data) .inspect_err(|e| { tracing::error!({ address = address.as_ref(), error = format!("{e}"), }, "failed to run script"))?; if let Some(counter) = metric.get_counter().0.as_ref() else { return Err(Exn::from(VibeCodedError::message( "no output.