summaryrefslogtreecommitdiff
path: root/src/RuntimeError.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-02-29 22:20:35 +0100
committerKevin Chabowski <kevin@kch42.de>2012-02-29 22:20:35 +0100
commit4650939dcc53dca3244b7b4f8bceab7a17646124 (patch)
treefd0f48d685067a88b599fafaef6a07bd118585d4 /src/RuntimeError.php
parent4bf14ccb74174e319fb370e656018a6b8bad0e0e (diff)
downloadste-4650939dcc53dca3244b7b4f8bceab7a17646124.tar.gz
ste-4650939dcc53dca3244b7b4f8bceab7a17646124.tar.bz2
ste-4650939dcc53dca3244b7b4f8bceab7a17646124.zip
Introduced new exceptions and fixed a parsing bug.
* The exceptions RuntimeError, FatalRuntimeError, CantLoadTemplate and CantSaveTemplate were introduced. * RuntimeErrors are automatically catched by the template engine and will be displayed instead of the tag, unless the parameter $mute_runtime_errors was set to true. * Missing tags will result either in a RuntimeError or, if $fatal_error_on_missing_tag is true, in a FatalRuntimeError. * The mktag-subcompiler and the standard library functions now use the new exceptions. * A bug, that threw away leading TextNodes if a comment or rawtext pseudotag was parsed, is now fixed.
Diffstat (limited to 'src/RuntimeError.php')
0 files changed, 0 insertions, 0 deletions