Inheritance¶
Description¶
This exception class is raised by the TFPExpressionParser when parsing or evaluation errors occur. It encompasses both syntactic errors during expression parsing and runtime errors during expression evaluation.
This exception is raised in various scenarios:
- Syntax errors in expression structure (mismatched parentheses, invalid operators)
- Type mismatches during expression evaluation
- Undefined variable or function references
- Runtime errors during function calls or mathematical operations
- Invalid function arguments or parameter count mismatches
- Division by zero and other mathematical errors