Class HtmlErrorEvent
- Namespace
- AngleSharp.Html.Dom.Events
- Assembly
- AngleSharp.dll
The event that is published in case of an HTML parse error.
public class HtmlErrorEvent : Event
- Inheritance
-
HtmlErrorEvent
- Inherited Members
- Extension Methods
Constructors
HtmlErrorEvent(HtmlParseError, TextPosition)
Creates a new HtmlParseErrorEvent event.
public HtmlErrorEvent(HtmlParseError code, TextPosition position)
Parameters
code
HtmlParseErrorThe provided error code.
position
TextPositionThe position in the source.
Properties
Code
Gets the provided error code.
public int Code { get; }
Property Value
Message
Gets the associated error message.
public string Message { get; }
Property Value
Position
Gets the position of the error.
public TextPosition Position { get; }