CssParseError
enum CssParseError
A collection of CSS parse error codes.
using AngleSharp.Attributes;
namespace AngleSharp.Parser.Css
{
internal enum CssParseError : ushort
{
[DomDescription("Unexpected end of the given file.")]
EOF = 0,
[DomDescription("The provided character is not valid at the given position.")]
InvalidCharacter = 16,
[DomDescription("No block can start at the current position.")]
InvalidBlockStart = 17,
[DomDescription("The given token is not valid at the current position.")]
InvalidToken = 18,
[DomDescription("An expected colon is missing.")]
ColonMissing = 19,
[DomDescription("An expected identifier could not be found.")]
IdentExpected = 20,
[DomDescription("An given input has not been expected.")]
InputUnexpected = 21,
[DomDescription("This position does not support a linebreak (LF, FF).")]
LineBreakUnexpected = 22,
[DomDescription("The name of the @-rule is unknown.")]
UnknownAtRule = 32,
[DomDescription("The provided selector is invalid.")]
InvalidSelector = 48,
[DomDescription("The provided keyframe selector is invalid.")]
InvalidKeyframe = 49,
[DomDescription("The value of the declaration could not be found.")]
ValueMissing = 64,
[DomDescription("The value is invalid and cannot be used.")]
InvalidValue = 65,
[DomDescription("The name of the declaration is unknown.")]
UnknownDeclarationName = 80
}
}