Enum kurbo::SvgParseError
source · pub enum SvgParseError {
Wrong,
UnexpectedEof,
UnknownCommand(char),
}
Expand description
An error which can be returned when parsing an SVG.
Variants§
Wrong
A number was expected.
UnexpectedEof
The input string ended while still expecting input.
UnknownCommand(char)
Encountered an unknown command letter.
Trait Implementations§
source§impl Debug for SvgParseError
impl Debug for SvgParseError
source§impl Display for SvgParseError
impl Display for SvgParseError
source§impl Error for SvgParseError
impl Error for SvgParseError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()