Class: FilterParsingError

filters/index~FilterParsingError(message, detail)

The Error type returned by parse.

For example filter_unknown_option will have option.

Constructor

new FilterParsingError(message, detail)

Construct a FilterParsingError

Parameters:
Name Type Description
message string

The error message.

detail Object

The FilterParsingError detail. Contains at least text.

Properties:
Name Type Description
detail Object

Contains information about the error.

Properties
Name Type Attributes Description
option string <optional>

The option for filter_unknown_option.

regexp string <optional>

The regexp for filter_invalid_regexp.

text string

The text of the rejected filter.

Source: