LightnCandy option: FLAG_ERROR_EXCEPTION

Throw exception when template error.

Sample Codes

Used option: FLAG_ERROR_EXCEPTION

Data:
NULL
Template:
{{../foo}}}OK
Result:
Command failed: php .exec_tmp_file 2>/dev/null
Source Code
require('./vendor/autoload.php');
use LightnCandy\LightnCandy;
$template = "{{../foo}}}OK";

$php = LightnCandy::compile($template, array(
  "flags" => LightnCandy::FLAG_ERROR_EXCEPTION
));

Used option: FLAG_ERROR_EXCEPTION

Data:
NULL
Template:
{{> not_found}}
Result:
Command failed: php .exec_tmp_file 2>/dev/null
Source Code
require('./vendor/autoload.php');
use LightnCandy\LightnCandy;
$template = "{{> not_found}}";

$php = LightnCandy::compile($template, array(
  "flags" => LightnCandy::FLAG_ERROR_EXCEPTION
));