Enum style::error_reporting::ContextualParseError
[−]
[src]
pub enum ContextualParseError<'a> { UnsupportedPropertyDeclaration(&'a str, ParseError<'a>), UnsupportedFontFaceDescriptor(&'a str, ParseError<'a>), UnsupportedFontFeatureValuesDescriptor(&'a str, ParseError<'a>), InvalidKeyframeRule(&'a str, ParseError<'a>), InvalidFontFeatureValuesRule(&'a str, ParseError<'a>), UnsupportedKeyframePropertyDeclaration(&'a str, ParseError<'a>), InvalidRule(&'a str, ParseError<'a>), UnsupportedRule(&'a str, ParseError<'a>), UnsupportedViewportDescriptorDeclaration(&'a str, ParseError<'a>), UnsupportedCounterStyleDescriptorDeclaration(&'a str, ParseError<'a>), InvalidCounterStyleWithoutSymbols(String), InvalidCounterStyleNotEnoughSymbols(String), InvalidCounterStyleWithoutAdditiveSymbols, InvalidCounterStyleExtendsWithSymbols, InvalidCounterStyleExtendsWithAdditiveSymbols, InvalidMediaRule(&'a str, ParseError<'a>), UnsupportedValue(&'a str, ParseError<'a>), }
Errors that can be encountered while parsing CSS.
Variants
UnsupportedPropertyDeclaration(&'a str, ParseError<'a>)
A property declaration was not recognized.
UnsupportedFontFaceDescriptor(&'a str, ParseError<'a>)
A font face descriptor was not recognized.
UnsupportedFontFeatureValuesDescriptor(&'a str, ParseError<'a>)
A font feature values descriptor was not recognized.
InvalidKeyframeRule(&'a str, ParseError<'a>)
A keyframe rule was not valid.
InvalidFontFeatureValuesRule(&'a str, ParseError<'a>)
A font feature values rule was not valid.
UnsupportedKeyframePropertyDeclaration(&'a str, ParseError<'a>)
A keyframe property declaration was not recognized.
InvalidRule(&'a str, ParseError<'a>)
A rule was invalid for some reason.
UnsupportedRule(&'a str, ParseError<'a>)
A rule was not recognized.
UnsupportedViewportDescriptorDeclaration(&'a str, ParseError<'a>)
A viewport descriptor declaration was not recognized.
UnsupportedCounterStyleDescriptorDeclaration(&'a str, ParseError<'a>)
A counter style descriptor declaration was not recognized.
InvalidCounterStyleWithoutSymbols(String)
A counter style rule had no symbols.
InvalidCounterStyleNotEnoughSymbols(String)
A counter style rule had less than two symbols.
InvalidCounterStyleWithoutAdditiveSymbols
A counter style rule did not have additive-symbols.
InvalidCounterStyleExtendsWithSymbols
A counter style rule had extends with symbols.
InvalidCounterStyleExtendsWithAdditiveSymbols
A counter style rule had extends with additive-symbols.
InvalidMediaRule(&'a str, ParseError<'a>)
A media rule was invalid for some reason.
UnsupportedValue(&'a str, ParseError<'a>)
A value was not recognized.