AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.9.1" />

 HtmlParseException

public class HtmlParseException : Exception
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; } } }