Class HtmlParseError
- Namespace
- HtmlAgilityPack
- Assembly
- HtmlAgilityPack.dll
Represents a parsing error found during document parsing.
public class HtmlParseError
- Inheritance
-
HtmlParseError
- Inherited Members
Properties
Code
Gets the type of error.
public HtmlParseErrorCode Code { get; }
Property Value
Line
Gets the line number of this error in the document.
public int Line { get; }
Property Value
LinePosition
Gets the column number of this error in the document.
public int LinePosition { get; }
Property Value
Reason
Gets a description for the error.
public string Reason { get; }
Property Value
SourceText
Gets the the full text of the line containing the error.
public string SourceText { get; }
Property Value
StreamPosition
Gets the absolute stream position of this error in the document, relative to the start of the document.
public int StreamPosition { get; }