<html>
<head>
  <base href="<?=BASE_URL;?>" />
  <title>ERROR: <?php echo $e->getMessage() ?></title>
  <link rel="stylesheet" type="text/css" href="assets/css/error.css" />
</head>
<body>
<h1>ERROR: <strong><?php echo $e->getMessage() ?></strong></h1>

<?php if(APPLICATION_ENV == 'development'): ?>
<div class='content'>
  <h3>Exception information:</h3>
  <p><b>Message:</b> <?php echo $e->getMessage() ?></p>
  <h3>Stack trace:</h3>
  <pre><?php echo $e->getTraceAsString() ?></pre>
</div>
<?php endif; ?>
</body>
</html>