HtmlParseException
Exception that is thrown if an ill-formatted HTML document is parsed
in strict mode.
using System;
namespace AngleSharp.Parser.Html
{
public class HtmlParseException : Exception
{
public TextPosition Position { get; set; }
public int Code { get; set; }
public HtmlParseException(int code, string message, TextPosition position)
: base(message)
{
Code = code;
Position = position;
}
}
}