# PivotFormulaError (@salmonui/pivot-table/engine)

> The PivotFormulaError class of @salmonui/pivot-table/engine.

Canonical: https://salmonui.dev/docs/reference/pivot-table/engine/PivotFormulaError

```ts
import { PivotFormulaError } from '@salmonui/pivot-table/engine';
```

Also exported from `@salmonui/pivot-table/engine/formula`.

Entry index: https://salmonui.dev/docs/reference/pivot-table/engine (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/pivot-table/engine.md).

## Reference

Kind: class

```ts
class PivotFormulaError extends Error {
    readonly position: number;
    constructor(message: string, position: number);
}
```

Members (1):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `position` | `readonly position: number;` |  | Zero-based character offset of the error in the formula. |
