DnsFilterParseError Enum

Identifies why a filter list line was not turned into a rule.

public enum DnsFilterParseError

Fields

NameValueDescription
UnsupportedModifier0The 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.
InvalidModifierValue1The line carries a supported modifier whose value could not be parsed (for example an unknown $dnstype record type or a malformed CIDR in $client).
InvalidRegex2The regular expression of a /pattern/ rule is not valid, or its closing delimiter is missing.
InvalidPattern3The line has no usable match pattern, or the pattern is not a valid domain name.