sgf_parse/props/
error.rs

1// Error type for invalid SGF properties.
2#[derive(Debug)]
3pub struct SgfPropError {}
4
5impl std::fmt::Display for SgfPropError {
6    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
7        write!(f, "Invalid property value")
8    }
9}
10
11impl std::error::Error for SgfPropError {}