Class FormulaParseException

Namespace
LogicalOptimizer
Assembly
LogicalOptimizer.Core.dll

Thrown when a string is not a valid boolean expression. Derives from ArgumentException for backward compatibility, and exposes a structured Diagnostic (position, length, expected tokens, machine-readable code and a caret snippet). Use TryParse(string, out AstNode?, out ParseDiagnostic?) to handle invalid input without exceptions.

public sealed class FormulaParseException : ArgumentException, ISerializable
Inheritance
FormulaParseException
Implements
Inherited Members

Properties

Diagnostic

Structured information about the parse failure.

public ParseDiagnostic Diagnostic { get; }

Property Value

ParseDiagnostic