---
url: https://docs.moqtail.dev/ts/api/model/classes/InvalidFilterError.md
---
# Class: InvalidFilterError

A Range Filter that cannot be honoured. A peer that sends one is answered with
REQUEST_ERROR INVALID_FILTER rather than a closed session: the request is
well-formed, it just asks for something that cannot be applied.

## Extends

* [`MOQtailError`](MOQtailError.md)

## Constructors

### Constructor

> **new InvalidFilterError**(`context`, `details`): `InvalidFilterError`

#### Parameters

##### context

`string`

##### details

`string`

#### Returns

`InvalidFilterError`

#### Overrides

[`MOQtailError`](MOQtailError.md).[`constructor`](MOQtailError.md#constructor)

## Properties

### context

> `readonly` **context**: `string`

***

### details

> `readonly` **details**: `string`
