summaryrefslogtreecommitdiff
path: root/src/ste/ParseCompileError.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/ste/ParseCompileError.php')
-rw-r--r--src/ste/ParseCompileError.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ste/ParseCompileError.php b/src/ste/ParseCompileError.php
index 29590da..0d5a240 100644
--- a/src/ste/ParseCompileError.php
+++ b/src/ste/ParseCompileError.php
@@ -16,7 +16,8 @@ class ParseCompileError extends \Exception
$this->msg = $msg;
$this->tpl = $tpl;
$this->off = $offset;
- $this->message = "$msg (Template $tpl, Offset $offset)";
+
+ parent::__construct("$msg (Template $tpl, Offset $offset)", $code, $previous);
}
/**