1
2
3
4
5
6
7
8
9
10
#[derive(Debug, Display, Error)]
pub enum GlifStringConversionError {
#[display(fmt="String has control character `{:?}` at position {}", c, idx)]
HasControlCharacter {
idx: usize,
c: char
},
#[display(fmt="String is zero-length")]
LenZero,
}