diff options
Diffstat (limited to 'docs/HtmlAgilityPack/HtmlParseErrorCode.cs')
-rw-r--r-- | docs/HtmlAgilityPack/HtmlParseErrorCode.cs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/HtmlAgilityPack/HtmlParseErrorCode.cs b/docs/HtmlAgilityPack/HtmlParseErrorCode.cs new file mode 100644 index 00000000000..f92128de605 --- /dev/null +++ b/docs/HtmlAgilityPack/HtmlParseErrorCode.cs @@ -0,0 +1,34 @@ +// HtmlAgilityPack V1.0 - Simon Mourier <simon underscore mourier at hotmail dot com>
+namespace HtmlAgilityPack
+{
+ /// <summary>
+ /// Represents the type of parsing error.
+ /// </summary>
+ public enum HtmlParseErrorCode
+ {
+ /// <summary>
+ /// A tag was not closed.
+ /// </summary>
+ TagNotClosed,
+
+ /// <summary>
+ /// A tag was not opened.
+ /// </summary>
+ TagNotOpened,
+
+ /// <summary>
+ /// There is a charset mismatch between stream and declared (META) encoding.
+ /// </summary>
+ CharsetMismatch,
+
+ /// <summary>
+ /// An end tag was not required.
+ /// </summary>
+ EndTagNotRequired,
+
+ /// <summary>
+ /// An end tag is invalid at this position.
+ /// </summary>
+ EndTagInvalidHere
+ }
+}
\ No newline at end of file |