Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
feat: add boilerplate for error page
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Oct 4, 2022
1 parent 28f3f85 commit e928a86
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions routes/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@
// echo 'error 404';
// });

/*
|--------------------------------------------------------------------------
| Set up 500 handler
|--------------------------------------------------------------------------
|
| Create a handler for error 500
|
*/
// app()->setErrorHandler(function() {
// response()->page(ViewsPath("errorPage.html", false), 500);
// });

/*
|--------------------------------------------------------------------------
| Set up Controller namespace
Expand Down

0 comments on commit e928a86

Please sign in to comment.