Enum style::error_reporting::ContextualParseError [] [src]

pub enum ContextualParseError<'a> {
    UnsupportedPropertyDeclaration(&'a strParseError<'a>),
    UnsupportedFontFaceDescriptor(&'a strParseError<'a>),
    UnsupportedFontFeatureValuesDescriptor(&'a strParseError<'a>),
    InvalidKeyframeRule(&'a strParseError<'a>),
    InvalidFontFeatureValuesRule(&'a strParseError<'a>),
    UnsupportedKeyframePropertyDeclaration(&'a strParseError<'a>),
    InvalidRule(&'a strParseError<'a>),
    UnsupportedRule(&'a strParseError<'a>),
    UnsupportedViewportDescriptorDeclaration(&'a strParseError<'a>),
    UnsupportedCounterStyleDescriptorDeclaration(&'a strParseError<'a>),
    InvalidCounterStyleWithoutSymbols(String),
    InvalidCounterStyleNotEnoughSymbols(String),
    InvalidCounterStyleWithoutAdditiveSymbols,
    InvalidCounterStyleExtendsWithSymbols,
    InvalidCounterStyleExtendsWithAdditiveSymbols,
    InvalidMediaRule(&'a strParseError<'a>),
    UnsupportedValue(&'a strParseError<'a>),
}

Errors that can be encountered while parsing CSS.

Variants

A property declaration was not recognized.

A font face descriptor was not recognized.

A font feature values descriptor was not recognized.

A keyframe rule was not valid.

A font feature values rule was not valid.

A keyframe property declaration was not recognized.

A rule was invalid for some reason.

A rule was not recognized.

A viewport descriptor declaration was not recognized.

A counter style descriptor declaration was not recognized.

A counter style rule had no symbols.

A counter style rule had less than two symbols.

A counter style rule did not have additive-symbols.

A counter style rule had extends with symbols.

A counter style rule had extends with additive-symbols.

A media rule was invalid for some reason.

A value was not recognized.

Trait Implementations

impl<'a> Display for ContextualParseError<'a>
[src]

[src]

Formats the value using the given formatter. Read more