<!-- Generated by tools/SharpCell.Docs from the XML documentation comments. Do not edit; run the tool with 'generate'. -->

# FormulaParseException

```csharp
public sealed class FormulaParseException : Exception
```

Namespace `SharpCell` · package `SharpCell`

Thrown when formula text cannot be parsed. This is the only exception the parser throws.

## Constructors

<a id="ctor-string-int"></a>
### FormulaParseException(string, int)

```csharp
public FormulaParseException(string message, int position)
```

Creates the exception for a formula that cannot be parsed.

**Parameters**

- `message`: What is wrong.
- `position`: The zero-based character position where parsing failed.

## Properties

<a id="position"></a>
### Position

```csharp
public int Position { get; }
```

Zero-based index in the formula text where the problem was found.
