{"record":{"id":"945360ee57e6e2b0","repo":"zellij-org/zellij","slug":"pane-not-found-945360","errorCode":null,"errorMessage":"Pane not found","messagePattern":"Pane not found","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"zellij-server/src/panes/tiled_panes/mod.rs","lineNumber":1048,"sourceCode":"        self.active_panes\n            .insert(client_id, pane_id, &mut self.panes);\n        if self.session_is_mirrored {\n            // move all clients\n            let connected_clients: Vec<ClientId> =\n                self.connected_clients.borrow().iter().copied().collect();\n            for client_id in connected_clients {\n                self.active_panes\n                    .insert(client_id, pane_id, &mut self.panes);\n            }\n        }\n        self.reset_boundaries();\n    }\n    pub fn focus_pane_if_exists(&mut self, pane_id: PaneId, client_id: ClientId) -> Result<()> {\n        if self.panes.get(&pane_id).is_some() {\n            self.focus_pane(pane_id, client_id);\n            Ok(())\n        } else {\n            Err(anyhow!(\"Pane not found\"))\n        }\n    }\n    pub fn focus_pane_at_position(&mut self, position_and_size: PaneGeom, client_id: ClientId) {\n        if let Some(pane_id) = self\n            .panes\n            .iter()\n            .find(|(_pid, pane)| pane.position_and_size() == position_and_size)\n            .map(|(pid, _p)| *pid)\n        {\n            if let Some(currently_active_pane_id) = self.active_panes.get(&client_id) {\n                let prev_geom = {\n                    if let Some(currently_focused_pane) =\n                        self.panes.get_mut(currently_active_pane_id)\n                    {\n                        let prev_geom = currently_focused_pane.position_and_size();\n                        currently_focused_pane.set_geom(position_and_size);\n                        Some(prev_geom)\n                    } else {","sourceCodeStart":1030,"sourceCodeEnd":1066,"githubUrl":"https://github.com/zellij-org/zellij/blob/98a0837077492d53dd252ab30bc3e43e41e504f4/zellij-server/src/panes/tiled_panes/mod.rs#L1030-L1066","documentation":"Error \"Pane not found\" thrown in zellij-org/zellij.","triggerScenarios":"Thrown at zellij-server/src/panes/tiled_panes/mod.rs:1048 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"}