SharpCell

FormulaParseException

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

FormulaParseException(string, int)

public FormulaParseException(string message, int position)

Creates the exception for a formula that cannot be parsed.

Parameters

Properties

Position

public int Position { get; }

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