exception.php 1.44 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>Laravel - Error</title>

	<link href='http://fonts.googleapis.com/css?family=Ubuntu&amp;subset=latin' rel='stylesheet' type='text/css'>

	<style type="text/css">
		body {
			background-color: #fff;
			font-family: 'Ubuntu', sans-serif;
			font-size: 18px;
			color: #3f3f3f;
			padding: 10px;
		}

		h1 {
			font-family: 'Ubuntu', sans-serif;
			font-size: 45px;
			color: #6d6d6d;
			margin: 0 0 10px 0;
23
			text-shadow: 1px 1px #000;
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
		}

		h3 {
			color: #6d6d6d;
			margin: 0 0 10px 0;
		}

		pre {
			font-size: 14px;
			margin: 0 0 0 0;
			padding: 0 0 0 0;
		}
 
		#wrapper {
			width: 100%;
		}
 
		div.content {
			padding: 10px 10px 10px 10px;
			background-color: #eee;
			border-radius: 10px;
			margin-bottom: 10px;
		}
	</style>
</head> 
<body>
	<div id="wrapper"> 
		<h1><?php echo $severity; ?></h1> 
 
		<div class="content">
			<h3>Message:</h3> 
			<?php echo $message; ?> in <strong><?php echo basename($file); ?></strong> on line <strong><?php echo $line; ?></strong>.
		</div>

		<div class="content">
			<h3>Stack Trace:</h3>

			<pre><?php echo $trace; ?></pre>
		</div>

		<div class="content">
			<h3>Context:</h3>

			<?php if (count($contexts) > 0) { ?>

				<?php foreach ($contexts as $num => $context) { ?>
					<pre><?php echo htmlentities($num.' '.$context); ?></pre>
				<?php } ?>

			<?php } else { ?>
				Context unavailable.
			<?php } ?>
		</div>
	</div> 
</body> 
</html>