{"record":{"id":"3391f853ed7b99aa","repo":"emilk/egui","slug":"invalid-variation-axis-tag","errorCode":null,"errorMessage":"Invalid variation axis tag","messagePattern":"Invalid variation axis tag","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/epaint/src/text/text_layout_types.rs","lineNumber":410,"sourceCode":"\nimpl IntoTag for [u8; 4] {\n    #[inline(always)]\n    fn into_tag(self) -> font_types::Tag {\n        font_types::Tag::new_checked(&self).expect(\"Invalid variation axis tag\")\n    }\n}\n\nimpl IntoTag for &[u8; 4] {\n    #[inline(always)]\n    fn into_tag(self) -> font_types::Tag {\n        font_types::Tag::new_checked(self).expect(\"Invalid variation axis tag\")\n    }\n}\n\nimpl IntoTag for &str {\n    #[inline(always)]\n    fn into_tag(self) -> font_types::Tag {\n        font_types::Tag::from_str(self).expect(\"Invalid variation axis tag\")\n    }\n}\n\n/// List of font variation coordinates by axis tag. If more than one coordinate for a given axis is provided, the last\n/// one added is used.\n#[derive(Clone, Debug, PartialEq, Default)]\n#[cfg_attr(feature = \"serde\", derive(serde::Deserialize, serde::Serialize))]\npub struct VariationCoords(SmallVec<[(font_types::Tag, f32); 2]>);\n\nimpl VariationCoords {\n    /// Create a list of variation coordinates from a sequence of (tag, value) pairs.\n    ///\n    /// ## Example:\n    /// ```\n    /// use epaint::text::VariationCoords;\n    ///\n    /// let coords = VariationCoords::new([\n    ///     (b\"wght\", 500.0),","sourceCodeStart":392,"sourceCodeEnd":428,"githubUrl":"https://github.com/emilk/egui/blob/d802a982ce959839d92f4f6718fdffa41143110e/crates/epaint/src/text/text_layout_types.rs#L392-L428","documentation":"Error \"Invalid variation axis tag\" thrown in emilk/egui.","triggerScenarios":"Thrown at crates/epaint/src/text/text_layout_types.rs:410 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"}