{"record":{"id":"f8bf72fc86bd8b79","repo":"zeroclaw-labs/zeroclaw","slug":"unknown-secret","errorCode":null,"errorMessage":"Unknown secret '{}'","messagePattern":"Unknown secret '(.+?)'","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/zeroclaw-macros/src/lib.rs","lineNumber":2127,"sourceCode":"                Ok(())\n            }\n\n            /// Decrypt all secret fields in place using the provided store.\n            pub fn decrypt_secrets(&mut self, store: &crate::security::SecretStore) -> anyhow::Result<()> {\n                #(#decrypt_ops)*\n                #(#nested_decrypt)*\n                Ok(())\n            }\n\n            /// Set a secret field by its full dotted name, dispatching to nested children.\n            pub fn set_secret(&mut self, name: &str, value: String) -> anyhow::Result<()> {\n                // Try direct secret fields first\n                match name {\n                    #(#set_arms,)*\n                    _ => {\n                        // Try nested children\n                        #(#nested_set)*\n                        anyhow::bail!(\"Unknown secret '{}'\", name)\n                    }\n                }\n            }\n\n            /// Returns metadata about all property fields on this struct and nested children.\n            pub fn prop_fields(&self) -> Vec<crate::config::PropFieldInfo> {\n                let __table = toml::Value::try_from(self)\n                    .ok()\n                    .and_then(|v| match v { toml::Value::Table(t) => Some(t), _ => None });\n                let mut fields = vec![#(#prop_field_entries),*];\n                #(#nested_prop_fields)*\n                #(#dynamic_secret_map_prop_fields)*\n                fields\n            }\n\n            /// Get a property value by its full dotted name, returning it as a display string.\n            pub fn get_prop(&self, name: &str) -> anyhow::Result<String> {\n                #(#nested_get_prop)*","sourceCodeStart":2109,"sourceCodeEnd":2145,"githubUrl":"https://github.com/zeroclaw-labs/zeroclaw/blob/88bb9c8533fc57ed7a03e36ca7c9ed2bf8336dcc/crates/zeroclaw-macros/src/lib.rs#L2109-L2145","documentation":"Error \"Unknown secret '{}'\" thrown in zeroclaw-labs/zeroclaw.","triggerScenarios":"Thrown at crates/zeroclaw-macros/src/lib.rs:2127 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Define the referenced secret in the secrets configuration before using it in the macro."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"88bb9c8533fc57ed7a03e36ca7c9ed2bf8336dcc","analyzedAt":"2026-08-23T01:07:41.857Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}