DnsFilterParseError Enum
Identifies why a filter list line was not turned into a rule.
public enum DnsFilterParseErrorFields
| Name | Value | Description |
|---|---|---|
UnsupportedModifier | 0 | The line carries a modifier this library does not implement. The rule is discarded rather than applied without that modifier, because ignoring it would widen the rule beyond what its author wrote. |
InvalidModifierValue | 1 | The line carries a supported modifier whose value could not be parsed (for example an unknown $dnstype record type or a malformed CIDR in $client). |
InvalidRegex | 2 | The regular expression of a /pattern/ rule is not valid, or its closing delimiter is missing. |
InvalidPattern | 3 | The line has no usable match pattern, or the pattern is not a valid domain name. |