1 2 3 4 5 6 7 8 9 10
use ab_glyph::GlyphId; use thiserror::Error; #[derive(Debug, PartialEq, Eq, Error)] pub enum TextError { #[error("font not found")] NoSuchFont, #[error("failed to add glyph to newly-created atlas {0:?}")] FailedToAddGlyph(GlyphId), }