Class: InvalidFilter

(private) filterClasses.InvalidFilter(text, reason, optionnullable)

Class for invalid filters

Constructor

(private) new InvalidFilter(text, reason, optionnullable)

Parameters:
Name Type Attributes Default Description
text string

see Filter()

reason string

Reason why this filter is invalid

option string <nullable>
null

The optional option passed to the filter

Source:

Extends

Members

requiresPrivilegedSubscription :bool

True if filter should only be loaded if it comes from a privileged subscription (circumvention subscriptions or special subscriptions).

Type:
  • bool
Overrides:
Source:

type :string

Filter type as a string, e.g. "blocking".

Can be blocking, allowing, elemhide, elemhideexception, elemhideemulation, snippet, comment or invalid.

Type:
  • string
Overrides:
Source:

Methods

(generator) serialize() → {string}

Serializes the filter for writing out on disk.

Overrides:
Source:
Yields:
Type
string