Enum css::CustomParseError [] [src]

pub enum CustomParseError<'i> {
    UnsupportedAtRule(CowRcStr<'i>),
    InvalidParseState,
    UnexpectedCharsetAtRule,
    UnsupportedCounterStyleProperty(CowRcStr<'i>),
    InvalidCounterStyleWithoutSymbols(System),
    InvalidCounterStyleNotEnoughSymbols(System),
    InvalidCounterStyleWithoutAdditiveSymbols,
    InvalidCounterStyleExtendsWithSymbols,
    InvalidCounterStyleExtendsWithAdditiveSymbols,
    CounterStyleSystemIsNotKnown(CowRcStr<'i>),
    CounterStyleSymbolsCanNotBeEmpty,
    CounterStyleRangesCanNotHaveStartGreaterThanEnd(i32i32),
    CounterStylePadMinLengthCanNotBeNegative(i32),
    CounterStyleAdditiveTupleWeightCanNotBeNegative(i32),
    CounterStyleAdditiveSymbolsCanNotHaveASecondWeightEqualToOrGreaterThanTheFirst,
    DecimalOrDiscIsNotAllowedInACounterStyleIdentInACounterStyleAtRule,
    NoneIsNotAllowedInACounterStyleIdent,
    DocumentAtRuleUrlMatchingFunctionWasInvalid,
    BadUrlInDeclarationValueBlock(CowRcStr<'i>),
    BadStringInDeclarationValueBlock(CowRcStr<'i>),
    UnbalancedCloseParenthesisInDeclarationValueBlock,
    UnbalancedCloseSquareBracketInDeclarationValueBlock,
    UnbalancedCloseCurlyBracketInDeclarationValueBlock,
    UnsupportedFontFaceProperty(CowRcStr<'i>),
    InvalidFontLanguageOverrideIdentifier(CowRcStr<'i>),
    InvalidFontLanguageOverrideOpenTypeLanguageTag(CowRcStr<'i>),
    FontFeatureSettingOpenTypeFeatureTagMustBeFourCharacters(CowRcStr<'i>),
    FontFeatureSettingOpenTypeFeatureTagMustBePrintableAscii(CowRcStr<'i>),
    FontFeatureSettingIfNotAnIntegerMustBeOnOrOff(CowRcStr<'i>),
    FontFeatureSettingIntegerMustBePositive(i32),
    FontFaceAtRuleFontWeightWasNotAValidIdentifierOrInteger,
    FontFaceAtRuleFontFamilyCanNotBeGeneric,
    AtRuleImportMustBeBeforeAnyRuleExceptAtRuleCharset,
    KeyframePercentageWasNotBetweenZeroAndOneInclusive(f32),
    ImportantIsNotAllowedInKeyframePropertyDeclarationValues,
    UnexpectedTokenWhenParsingZoom(Token<'i>),
    InvalidMediaType(CowRcStr<'i>),
    DeprecatedMediaType(CowRcStr<'i>),
    UnrecognisedMediaType(CowRcStr<'i>),
    DeprecatedMediaQueryExpression(CowRcStr<'i>),
    UnsupportedMediaQueryExpression(CowRcStr<'i>),
    RatioNumeratorCanNotBeNegativeOrZero(i32),
    RatioDivisorCanNotBeNegativeOrZero(i32),
    MediaGridMustBeEitherZeroOrOne(i32),
    MediaTransform3DMustBeEitherZeroOrOne(i32),
    MediaTypeIsOnlyOptionalIfQualifiedIsNotSpecified,
    AtRuleNamespaceMustBeBeforeAnyRuleExceptAtRuleCharsetAndAtRuleImport,
    UnexpectedTokenForAtNamespaceRuleNamespaceValue(Token<'i>),
    InvalidPageSelectorPseudoClass(CowRcStr<'i>),
    FontRelativeLengthsAreNotAllowedInAPageAtRule,
    ViewportLengthsAreNotAllowedInAPageAtRule,
    InvalidSupportsCondition(CowRcStr<'i>),
    UnexpectedViewportProperty(CowRcStr<'i>),
    SpecificSelectorParseError(Box<SelectorParseError<'i, CustomParseError<'i>>>),
    ThereAreNoSelectors,
    SelectorIsInvalidInContext(String),
    UnsupportedPseudoClassOrElement(String),
    NonTreeStructuralPseudoClassScopeIsObsoleteAsOfFirefox55,
    UnexpectedCustomIdent(CowRcStr<'i>),
    CustomIdentWasExcluded(CowRcStr<'i>),
    CouldNotParseCssSignedNumber(CssNumberConversionErrorf32),
    CouldNotParseCssUnsignedNumber(CssNumberConversionErrorf32),
    CouldNotParseDimensionLessNumber(f32),
    CouldNotParseDimension(f32CowRcStr<'i>),
    UnsignedIntegersCanNotBeNegative(i32),
    UnsignedIntegersCanNotBeFloats(f32),
    UnknownFunctionInValueExpression(CowRcStr<'i>),
    CssVariablesInVarExpressionsMustStartWithTwoDashes(CowRcStr<'i>),
}

Represents all the things that can go wrong when parsing.

Variants

Trait Implementations

impl<'i> Debug for CustomParseError<'i>
[src]

[src]

Formats the value using the given formatter.