The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Exception.cshtml 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. @model Teknik.Areas.Error.ViewModels.ErrorViewModel
  2. <div class="container">
  3. <div class="row">
  4. <div class="col-md-12">
  5. <div class="error-template text-center">
  6. <h1>Unexpected Error</h1>
  7. <div class="error-details">
  8. An unexpected error has occurred. Please contact the system administrator.
  9. <br />
  10. <br />
  11. @if (Model != null && Model.Exception != null)
  12. {
  13. <div class="text-left">
  14. <p>
  15. <b>Exception:</b> @Model.Exception.Message
  16. <br />
  17. <b>Source:</b> @Model.Exception.Source
  18. </p>
  19. <div style="overflow:scroll">
  20. <pre>@Model.Exception.StackTrace</pre>
  21. </div>
  22. </div>
  23. }
  24. </div>
  25. <br />
  26. <div class="error-actions">
  27. <a href="@Url.SubRouteUrl("www", "Home.Index")" class="btn btn-primary btn-lg">
  28. <span class="glyphicon glyphicon-home"></span>
  29. Take Me Home
  30. </a>
  31. <a href="@Url.SubRouteUrl("contact", "Contact.Index")" class="btn btn-default btn-lg">
  32. <span class="glyphicon glyphicon-envelope"></span>
  33. Contact Support
  34. </a>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. </div>