pub enum ErrorKind {
Show 72 variants
Unexpected(&'static str, &'static str),
ExpectOneOf(Vec<&'static str>, &'static str),
UnknownToken,
InvalidNumber,
InvalidEscape,
InvalidHash,
ExpectRightBraceForLessVar,
UnexpectedLinebreak,
UnexpectedEof,
UnterminatedString,
ExpectRule,
UnexpectedWhitespace,
UnexpectedWhitespaceOrComments,
ExpectSimpleSelector,
ExpectTypeSelector,
ExpectIdSelector,
ExpectWqName,
ExpectAttributeSelectorMatcher,
ExpectAttributeSelectorValue,
ExpectComponentValue,
ExpectSassExpression,
ExpectDedentOrEof,
ExpectString,
ExpectUrl,
InvalidUrl,
UnexpectedTemplateInCss,
ExpectMediaFeatureComparison,
ExpectMediaAnd,
ExpectMediaOr,
ExpectMediaNot,
ExpectContainerConditionAnd,
ExpectContainerConditionOr,
ExpectContainerConditionNot,
ExpectStyleConditionAnd,
ExpectStyleConditionOr,
ExpectStyleConditionNot,
ExpectStyleQuery,
ExpectSassKeyword(&'static str),
InvalidAnPlusB,
ExpectInteger,
ExpectUnsignedInteger,
ExpectImportantAnnotation,
ExpectSassUseNamespace,
InvalidUnicodeRange,
UnexpectedSassElseAtRule,
ExpectSassAtRootWithOrWithout,
ExpectNthOf,
ExpectKeyframeBlock,
MixedDelimiterKindInLessMixin,
ExpectLessKeyword(&'static str),
ExpectLessExtendRule,
ExpectScopeTo,
TryParseError,
CSSWideKeywordDisallowed,
MediaTypeKeywordDisallowed(String),
UnknownKeyframeSelectorIdent,
InvalidRatioDenominator,
ExpectMediaFeatureName,
ExpectDashedIdent,
InvalidIdSelectorName,
ReturnOutsideFunction,
MaxCodePointExceeded,
UnicodeRangeStartGreaterThanEnd,
UnexpectedNthMatcher,
InvalidSassFlagName(String),
UnexpectedSassFlag(&'static str),
DuplicatedSassFlag(&'static str),
LessGuardOnMultipleComplexSelectors,
UnexpectedLessMixinCall,
UnexpectedSemicolonInSass,
UnexpectedSimpleBlock,
TopLevelDeclaration,
}Variants§
Unexpected(&'static str, &'static str)
ExpectOneOf(Vec<&'static str>, &'static str)
UnknownToken
InvalidNumber
InvalidEscape
InvalidHash
ExpectRightBraceForLessVar
UnexpectedLinebreak
UnexpectedEof
UnterminatedString
ExpectRule
UnexpectedWhitespace
UnexpectedWhitespaceOrComments
ExpectSimpleSelector
ExpectTypeSelector
ExpectIdSelector
ExpectWqName
ExpectAttributeSelectorMatcher
ExpectAttributeSelectorValue
ExpectComponentValue
ExpectSassExpression
ExpectDedentOrEof
ExpectString
ExpectUrl
InvalidUrl
UnexpectedTemplateInCss
ExpectMediaFeatureComparison
ExpectMediaAnd
ExpectMediaOr
ExpectMediaNot
ExpectContainerConditionAnd
ExpectContainerConditionOr
ExpectContainerConditionNot
ExpectStyleConditionAnd
ExpectStyleConditionOr
ExpectStyleConditionNot
ExpectStyleQuery
ExpectSassKeyword(&'static str)
InvalidAnPlusB
ExpectInteger
ExpectUnsignedInteger
ExpectImportantAnnotation
ExpectSassUseNamespace
InvalidUnicodeRange
UnexpectedSassElseAtRule
ExpectSassAtRootWithOrWithout
ExpectNthOf
ExpectKeyframeBlock
MixedDelimiterKindInLessMixin
ExpectLessKeyword(&'static str)
ExpectLessExtendRule
ExpectScopeTo
TryParseError
CSSWideKeywordDisallowed
MediaTypeKeywordDisallowed(String)
UnknownKeyframeSelectorIdent
InvalidRatioDenominator
ExpectMediaFeatureName
ExpectDashedIdent
InvalidIdSelectorName
ReturnOutsideFunction
MaxCodePointExceeded
UnicodeRangeStartGreaterThanEnd
UnexpectedNthMatcher
InvalidSassFlagName(String)
UnexpectedSassFlag(&'static str)
DuplicatedSassFlag(&'static str)
LessGuardOnMultipleComplexSelectors
UnexpectedLessMixinCall
UnexpectedSemicolonInSass
UnexpectedSimpleBlock
TopLevelDeclaration
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more