pub enum ComponentParseError {
NotAComponent,
UnnamedComponent,
MissingName(usize),
MissingType(usize, AzString),
WhiteSpaceInComponentName(usize, AzString),
WhiteSpaceInComponentType(usize, AzString, AzString),
CssError(CssParseErrorOwned),
}Variants§
NotAComponent
Given XmlNode is not a <component /> node.
UnnamedComponent
A <component> node does not have a name attribute.
MissingName(usize)
Argument at position usize is either empty or has no name
MissingType(usize, AzString)
Argument at position usize with the name
String doesn’t have a : type
WhiteSpaceInComponentName(usize, AzString)
Component name may not contain a whitespace
(probably missing a : between the name and the type)
WhiteSpaceInComponentType(usize, AzString, AzString)
Component type may not contain a whitespace
(probably missing a , between the type and the next name)
CssError(CssParseErrorOwned)
Error parsing the