File modules/dsl/DslException.class.php

Last commit: Fri Feb 17 02:02:18 2023 +0100	Jan Dankert	Refactoring: Script-context should be the same in all environments; New: DslPdf for creating PDF with scriptbox ;)
1 <?php 2 3 namespace dsl; 4 5 6 class DslException extends \Exception 7 { 8 /** 9 * DslParserException constructor. 10 * @param $message 11 * @param $lineNumber 12 */ 13 public function __construct($message, $lineNumber=null,$previous=null) 14 { 15 parent::__construct( $message . ($lineNumber?' on line ' . $lineNumber:''),0,$previous ); 16 } 17 }
Download modules/dsl/DslException.class.php
History Fri, 17 Feb 2023 02:02:18 +0100 Jan Dankert Refactoring: Script-context should be the same in all environments; New: DslPdf for creating PDF with scriptbox ;) Sat, 28 May 2022 18:00:13 +0200 Jan Dankert New: DSL with a much better syntax parsing and support for assignments, conditions, ...