pub type Error = DeserializeError<XmlError>;Expand description
Error type for SVG parsing
Aliased Type§
pub enum Error {
Parser(XmlError),
Reflect(ReflectError),
UnexpectedEof {
expected: &'static str,
},
TypeMismatch {
expected: &'static str,
got: String,
},
UnknownElement {
tag: String,
},
UnknownAttribute {
name: String,
},
MissingAttribute {
name: &'static str,
},
Unsupported(String),
}Variants§
Parser(XmlError)
Parser error.
Reflect(ReflectError)
Reflection error.
UnexpectedEof
Unexpected end of input.
TypeMismatch
Type mismatch.
UnknownElement
Unknown element.
UnknownAttribute
Unknown attribute (when deny_unknown_fields is set).
MissingAttribute
Missing required attribute.
Unsupported(String)
Unsupported type.