exception.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. }
  21. h3 {
  22. color: #6d6d6d;
  23. margin: 0 0 10px 0;
  24. }
  25. pre {
  26. font-size: 14px;
  27. margin: 0 0 0 0;
  28. padding: 0 0 0 0;
  29. }
  30. #wrapper {
  31. width: 100%;
  32. }
  33. div.content {
  34. padding: 10px 10px 10px 10px;
  35. background-color: #eee;
  36. border-radius: 10px;
  37. margin-bottom: 10px;
  38. }
  39. </style>
  40. </head>
  41. <body>
  42. <div id="wrapper">
  43. <h1><?php echo $severity; ?></h1>
  44. <div class="content">
  45. <h3>Message:</h3>
  46. <?php echo $message; ?> in <strong><?php echo basename($file); ?></strong> on line <strong><?php echo $line; ?></strong>.
  47. </div>
  48. <div class="content">
  49. <h3>Stack Trace:</h3>
  50. <pre><?php echo $trace; ?></pre>
  51. </div>
  52. <div class="content">
  53. <h3>Context:</h3>
  54. <?php if (count($contexts) > 0) { ?>
  55. <?php foreach ($contexts as $num => $context) { ?>
  56. <pre><?php echo htmlentities($num.' '.$context); ?></pre>
  57. <?php } ?>
  58. <?php } else { ?>
  59. Context unavailable.
  60. <?php } ?>
  61. </div>
  62. </div>
  63. </body>
  64. </html>