Skip to content

Conversation

@Nabihamasroor
Copy link

Fixes #71

Changes

  • Added TemplateValidator class for validating templates before processing
  • Validates missing variables with clear error messages
  • Validates formulas using TypeScript compilation
  • Added error messages with line/column context
  • Implemented debug mode for detailed logging
  • Added tests for validation functionality

Features

  • Template Validation API: Catch errors early before processing
  • Enhanced Error Messages: Shows which variable/formula is missing, expected type, line context
  • Error Recovery: Configurable error recovery mode
  • Debug Mode: Detailed logging of validation steps

@Nabihamasroor Nabihamasroor force-pushed the feature/error-handling-validation branch 2 times, most recently from 2b9af75 to 849b92b Compare January 26, 2026 16:07
Signed-off-by: nabiha <nmasroor@forthlogic.com>
…rocessor

Signed-off-by: nabiha <nmasroor@forthlogic.com>
@Nabihamasroor Nabihamasroor force-pushed the feature/error-handling-validation branch from 849b92b to ad619c8 Compare January 26, 2026 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Comprehensive Error Handling & Validation System

1 participant