{"record":{"id":"902bb31b7fcf7231","repo":"emilk/egui","slug":"should-only-be-called-after-col","errorCode":null,"errorMessage":"Should only be called after `col`","messagePattern":"Should only be called after `col`","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/egui_extras/src/table.rs","lineNumber":1352,"sourceCode":"    #[inline]\n    pub fn set_hovered(&mut self, hovered: bool) {\n        self.hovered = hovered;\n    }\n\n    /// Set the overline state for this row. The overline is a line above the row,\n    /// usable for e.g. visually grouping rows.\n    #[inline]\n    pub fn set_overline(&mut self, overline: bool) {\n        self.overline = overline;\n    }\n\n    /// Returns a union of the [`Response`]s of the cells added to the row up to this point.\n    ///\n    /// You need to add at least one row to the table before calling this function.\n    pub fn response(&self) -> Response {\n        self.response\n            .clone()\n            .expect(\"Should only be called after `col`\")\n    }\n\n    /// Returns the index of the row.\n    #[inline]\n    pub fn index(&self) -> usize {\n        self.row_index\n    }\n\n    /// Returns the index of the column. Incremented after a column is added.\n    #[inline]\n    pub fn col_index(&self) -> usize {\n        self.col_index\n    }\n}\n\nimpl Drop for TableRow<'_, '_> {\n    #[inline]\n    fn drop(&mut self) {","sourceCodeStart":1334,"sourceCodeEnd":1370,"githubUrl":"https://github.com/emilk/egui/blob/d802a982ce959839d92f4f6718fdffa41143110e/crates/egui_extras/src/table.rs#L1334-L1370","documentation":"Error \"Should only be called after `col`\" thrown in emilk/egui.","triggerScenarios":"Thrown at crates/egui_extras/src/table.rs:1352 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":"d802a982ce959839d92f4f6718fdffa41143110e","analyzedAt":"2026-08-16T20:07:53.954Z","schemaVersion":2},"datasetVersion":"2026-08-16T23:17:17.608Z"}