Enum simplecss::Error [−][src]
pub enum Error { UnexpectedEndOfStream, InvalidIdent(TextPos), InvalidComment(TextPos), InvalidValue(TextPos), InvalidByte { expected: u8, actual: u8, pos: TextPos, }, SelectorMissing, UnexpectedSelector, UnexpectedCombinator, InvalidAttributeSelector, InvalidLanguagePseudoClass, }
Expand description
A list of possible errors.
Variants
The steam ended earlier than we expected.
Should only appear on invalid input data.
InvalidIdent(TextPos)
An invalid ident.
InvalidComment(TextPos)
An unclosed comment.
InvalidValue(TextPos)
An invalid declaration value.
An invalid byte.
A missing selector.
An unexpected selector.
An unexpected combinator.
An invalid or unsupported attribute selector.
An invalid language pseudo-class.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more