{"record":{"id":"944a43696796a0e5","repo":"openai/codex","slug":"context-source-944a43","errorCode":null,"errorMessage":"{context}: {source}","messagePattern":"\\{context\\}: \\{source\\}","errorType":"exception","errorClass":"PluginStoreError","httpStatus":null,"severity":"error","filePath":"codex-rs/core-plugins/src/store.rs","lineNumber":406,"sourceCode":"    fn remove_remote_plugin_install_metadata(\n        &self,\n        plugin_id: &PluginId,\n    ) -> Result<(), PluginStoreError> {\n        let path = self.remote_plugin_install_metadata_path(plugin_id);\n        match fs::remove_file(path.as_path()) {\n            Ok(()) => Ok(()),\n            Err(err) if err.kind() == io::ErrorKind::NotFound => Ok(()),\n            Err(err) => Err(PluginStoreError::io(\n                \"failed to remove remote plugin install metadata\",\n                err,\n            )),\n        }\n    }\n}\n\n#[derive(Debug, thiserror::Error)]\npub enum PluginStoreError {\n    #[error(\"{context}: {source}\")]\n    Io {\n        context: &'static str,\n        #[source]\n        source: io::Error,\n    },\n\n    #[error(\"{0}\")]\n    Invalid(String),\n}\n\nimpl PluginStoreError {\n    fn io(context: &'static str, source: io::Error) -> Self {\n        Self::Io { context, source }\n    }\n\n    pub(crate) fn sub_error_type(&self) -> Option<String> {\n        match self {\n            Self::Io { context, .. } => Some(error_context_sub_error_type(context)),","sourceCodeStart":388,"sourceCodeEnd":424,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/core-plugins/src/store.rs#L388-L424","documentation":"Error \"{context}: {source}\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/core-plugins/src/store.rs:406 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Address the underlying plugin store error in the reported context."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"339751715c64496cb86246bfb3935f40e309dd3d","analyzedAt":"2026-08-25T05:35:09.876Z","schemaVersion":2},"datasetVersion":"2026-08-25T06:17:31.827Z"}