<style type="text/css">
{literal}
	.exception {
		font-size: 1.2em;
		padding: 20px;
		background: #FEF693;
	}
	.exception * {
		font-family: 'Bitstream Vera Sans Mono', 'Courier New', 'Courier 10 Pitch', monospace !important;
	}
	.exception h1 {
		font-size: 2em;
		color: darkred;
		border-bottom: 3px solid darkred;
		margin: 0 0 20px 0;
		padding: 0 0 5px 0;
	}
	.exception h2 {
		font-size: 1.6em;
		margin: 0 0 20px 0;
		padding: 0 0 5px 0;
		border-bottom: 1px solid #fff;
	}
	.exception p, .exception dl {
		margin: 0 0 20px 0;
		padding: 0;
	}
	.exception dt {
		font-weight: bold;
		margin: 0 0 10px 0;
	}
	.exception dd {
		margin: 0 0 20px 0;
		padding: 0 0 0 40px;
	}

	#exception_message {
		background: #fff;
		padding: 10px 12px;
		color: darkred;
	}
	.exception .exception_module {
		background: #fff;
		padding: 10px 12px;
	}
	.color_gray {
		color: #aaa;
	}
	.color_darkred {
		color: darkred;
	}
{/literal}
</style>

<div id="{$exception.name}" class="exception">
	<h1>{$exception.name}</h1>
	<dl class="exception_module">
		<dt>
			<span class="color_gray">(ln:{$exception.line})</span> {$exception.file}
		</dt>
		<dd class="color_darkred">
			{$exception.message}
		</dd>
	</dl>
	{*if $exception.trace|count}
		<h2>Trace</h2>
		<dl>
		{foreach from=$exception.trace item=trace key=key}
			<dt>{$trace.class}::{$trace.function}()</dt>
			<dd>{$trace.args}</dd>
		{/foreach}
		</dl>
	{/if*}
</div>