mirror of
https://github.com/bevyengine/bevy
synced 2025-01-03 08:48:57 +00:00
11 lines
251 B
Rust
11 lines
251 B
Rust
|
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),
|
||
|
}
|