# StaleResponseError (@salmonui/data/json)

> The StaleResponseError class of @salmonui/data/json: A response arrived for a version older than one already applied on the same channel.

Canonical: https://salmonui.dev/docs/reference/data/json/StaleResponseError

```ts
import { StaleResponseError } from '@salmonui/data/json';
```

Also exported from `@salmonui/data`.

Entry index: https://salmonui.dev/docs/reference/data/json (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data/json.md).

## Reference

Kind: class

```ts
class StaleResponseError extends Error {
    readonly name = "StaleResponseError";
    readonly version: number;
    constructor(version: number, applied: number);
}
```

A response arrived for a version older than one already applied on the same channel.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `name` | `readonly name = "StaleResponseError";` |  |  |
| `version` | `readonly version: number;` |  |  |
