{"record":{"id":"9a39b804af2a5ce3","repo":"oven-sh/bun","slug":"0","errorCode":null,"errorMessage":"{0}","messagePattern":"\\{0\\}","errorType":"exception","errorClass":"exe_format::Error","httpStatus":null,"severity":"error","filePath":"src/exe_format/error.rs","lineNumber":3,"sourceCode":"#[derive(Debug, thiserror::Error)]\npub enum Error {\n    #[error(\"{0}\")]\n    Io(std::io::Error),\n    #[error(transparent)]\n    Macho(#[from] crate::macho::MachoError),\n}\n\nimpl From<std::io::Error> for Error {\n    fn from(e: std::io::Error) -> Self {\n        Self::Io(e)\n    }\n}\n\nimpl Error {\n    #[allow(clippy::trivially_copy_pass_by_ref)]\n    pub fn name(&self) -> &'static str {\n        match self {\n            Self::Io(_) => \"Io\",\n            Self::Macho(e) => <&'static str>::from(e),\n        }","sourceCodeStart":1,"sourceCodeEnd":21,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/src/exe_format/error.rs#L1-L21","documentation":"Error \"{0}\" thrown in oven-sh/bun.","triggerScenarios":"Thrown at src/exe_format/error.rs:3 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8c5296ac459e8252d3cd702f3fbcbb0c249d95d5","analyzedAt":"2026-08-16T08:01:58.794Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}