{"record":{"id":"2ebf740586804f19","repo":"zellij-org/zellij","slug":"invalid-combination-of-alignment-alignment-and","errorCode":null,"errorMessage":"Invalid combination of alignment ({alignment}) and direction ({direction})","messagePattern":"Invalid combination of alignment \\((.+?)\\) and direction \\((.+?)\\)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"zellij-server/src/panes/tiled_panes/tiled_pane_grid.rs","lineNumber":732,"sourceCode":"                result.push(*pid)\n            }\n        }\n        Ok(result)\n    }\n\n    /// Searches for contiguous panes\n    fn contiguous_panes_with_alignment(\n        &self,\n        id: &PaneId,\n        border: &HashSet<usize>,\n        alignment: &Direction,\n        direction: &Direction,\n    ) -> Result<BorderAndPaneIds> {\n        let err_context = || {\n            format!(\"failed to find contiguous panes {direction} from pane {id:?} with {alignment} alignment\")\n        };\n        let input_error =\n            anyhow!(\"Invalid combination of alignment ({alignment}) and direction ({direction})\");\n\n        let pane_to_check = self\n            .get_pane_geom(id)\n            .with_context(|| no_pane_id(id))\n            .with_context(err_context)?;\n        let mut result = vec![];\n        let mut aligned_panes: Vec<_> = self\n            .pane_ids_aligned_with(id, alignment)\n            .and_then(|pane_ids| {\n                Ok(pane_ids\n                    .iter()\n                    .filter_map(|p_id| self.get_pane_geom(p_id).map(|pane_geom| (*p_id, pane_geom)))\n                    .collect())\n            })\n            .with_context(err_context)?;\n\n        use Direction::Down as D;\n        use Direction::Left as L;","sourceCodeStart":714,"sourceCodeEnd":750,"githubUrl":"https://github.com/zellij-org/zellij/blob/98a0837077492d53dd252ab30bc3e43e41e504f4/zellij-server/src/panes/tiled_panes/tiled_pane_grid.rs#L714-L750","documentation":"Error \"Invalid combination of alignment ({alignment}) and direction ({direction})\" thrown in zellij-org/zellij.","triggerScenarios":"Thrown at zellij-server/src/panes/tiled_panes/tiled_pane_grid.rs:732 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":"98a0837077492d53dd252ab30bc3e43e41e504f4","analyzedAt":"2026-08-16T13:02:01.396Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}