{"record":{"id":"f7b134abe51e2c39","repo":"zellij-org/zellij","slug":"the-layout-was-not-found","errorCode":null,"errorMessage":"The layout was not found","messagePattern":"The layout was not found","errorType":"exception","errorClass":"ConfigError","httpStatus":null,"severity":"error","filePath":"zellij-utils/src/input/layout.rs","lineNumber":1653,"sourceCode":"                    \"Compact layout swap\".into(),\n                    Self::stringified_compact_swap_from_assets()?,\n                )),\n            )),\n            Some(\"classic\") => Ok((\n                \"Classic layout\".into(),\n                Self::stringified_classic_from_assets()?,\n                Some((\n                    \"Classiclayout swap\".into(),\n                    Self::stringified_classic_swap_from_assets()?,\n                )),\n            )),\n            Some(\"welcome\") => Ok((\n                \"Welcome screen layout\".into(),\n                Self::stringified_welcome_from_assets()?,\n                None,\n            )),\n            None | Some(_) => Err(ConfigError::IoPath(\n                std::io::Error::new(std::io::ErrorKind::Other, \"The layout was not found\"),\n                path.into(),\n            )),\n        }\n    }\n    pub fn stringified_default_from_assets() -> Result<String, ConfigError> {\n        Ok(String::from_utf8(setup::DEFAULT_LAYOUT.to_vec())?)\n    }\n    pub fn stringified_default_swap_from_assets() -> Result<String, ConfigError> {\n        Ok(String::from_utf8(setup::DEFAULT_SWAP_LAYOUT.to_vec())?)\n    }\n    pub fn stringified_strider_from_assets() -> Result<String, ConfigError> {\n        Ok(String::from_utf8(setup::STRIDER_LAYOUT.to_vec())?)\n    }\n    pub fn stringified_strider_swap_from_assets() -> Result<String, ConfigError> {\n        Ok(String::from_utf8(setup::STRIDER_SWAP_LAYOUT.to_vec())?)\n    }\n\n    pub fn stringified_disable_status_from_assets() -> Result<String, ConfigError> {","sourceCodeStart":1635,"sourceCodeEnd":1671,"githubUrl":"https://github.com/zellij-org/zellij/blob/a162323384dff3fbd9c68a4c0971f4f6efca424a/zellij-utils/src/input/layout.rs#L1635-L1671","documentation":"Error \"The layout was not found\" thrown in zellij-org/zellij.","triggerScenarios":"Occurs at zellij-utils/src/input/layout.rs:1653 when the operation fails: \"The layout was not found\". Currently there is no defensive handling preventing or contextualizing this failure before it surfaces.","commonSituations":"Typo in layout name or missing layout file in the layout directory.","solutions":["Check the layout name/file path spelling; run `zellij setup --check` to list known layouts.","Create the layout file or pass --layout with a valid name."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a162323384dff3fbd9c68a4c0971f4f6efca424a","analyzedAt":"2026-08-19T07:42:58.758Z","contentChangedAt":"2026-08-19T07:42:58.758Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}