exception.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Laravel - Error</title>
  6. <link href='http://fonts.googleapis.com/css?family=Ubuntu&amp;subset=latin' rel='stylesheet' type='text/css'>
  7. <style type="text/css">
  8. body {
  9. background-color: #fff;
  10. font-family: 'Ubuntu', sans-serif;
  11. font-size: 18px;
  12. color: #3f3f3f;
  13. padding: 10px;
  14. }
  15. h1 {
  16. font-family: 'Ubuntu', sans-serif;
  17. font-size: 45px;
  18. color: #6d6d6d;
  19. margin: 0 0 10px 0;
  20. text-shadow: 1px 1px #000;
  21. }
  22. h3 {
  23. color: #6d6d6d;
  24. margin: 0 0 10px 0;
  25. }
  26. pre {
  27. font-size: 14px;
  28. margin: 0 0 0 0;
  29. padding: 0 0 0 0;
  30. }
  31. #wrapper {
  32. width: 100%;
  33. }
  34. div.content {
  35. padding: 10px 10px 10px 10px;
  36. background-color: #eee;
  37. border-radius: 10px;
  38. margin-bottom: 10px;
  39. }
  40. </style>
  41. </head>
  42. <body>
  43. <div id="wrapper">
  44. <h1><?php echo $severity; ?></h1>
  45. <div class="content">
  46. <h3>Message:</h3>
  47. <?php echo $message; ?> in <strong><?php echo basename($file); ?></strong> on line <strong><?php echo $line; ?></strong>.
  48. </div>
  49. <div class="content">
  50. <h3>Stack Trace:</h3>
  51. <pre><?php echo $trace; ?></pre>
  52. </div>
  53. <div class="content">
  54. <h3>Context:</h3>
  55. <?php if (count($contexts) > 0) { ?>
  56. <?php foreach ($contexts as $num => $context) { ?>
  57. <pre><?php echo htmlentities($num.' '.$context); ?></pre>
  58. <?php } ?>
  59. <?php } else { ?>
  60. Context unavailable.
  61. <?php } ?>
  62. </div>
  63. </div>
  64. </body>
  65. </html>