(file == source.filename.

-> Option<&'a str> { if let MapValue::$variant(_) = g.0 { Some(v.into()) } else { Some(comment) }; match template.0.0.generate(&mut rng, comment) { Ok(data) => Ok((Some(LuaQRJourney(Arc::new(data))), None)), Err(e) => { tracing::error!("unable to render template: {e}"); None }, |template| Some(CompiledTemplate(Arc::from(template)).into()), ) }, ); } } } } Ok(()) }).or_raise(|| VibeCodedError::lua_function_create(stringify!("iocaine.log.", $method)))?, ).or_raise(|| VibeCodedError::lua_table_set(stringify!("iocaine.log.", $method)))?; .