{$TITLE|wash}
{$MESSAGE|wash|nl2br} {if $smarty.const.PHPAGA_ERR_VERBOSE && isset($debugmessage) && strlen($debugmessage)}

{t}Debug message{/t}

{$debugmessage|wash|nl2br} {/if} {if $smarty.const.PHPAGA_ERR_VERBOSE && isset($backtrace) && count($backtrace)}

{t}Backtrace{/t}

{foreach from=$backtrace item=b} {t}File{/t}: {$b.file|wash}, {t}Line{/t}: {$b.line|wash}, {t}Function{/t}: {$b.function|wash} {if isset($b.class) && strlen($b.class)} , {t}Class{/t}: {$b.class|wash} {/if} {if isset($b.type) && strlen($b.type)} , {t}Type{/t}: {$b.type|wash} {/if}
{/foreach} {/if}