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

Commit e928a86

Browse files
committed
feat: add boilerplate for error page
1 parent 28f3f85 commit e928a86

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

routes/index.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,18 @@
1313
// echo 'error 404';
1414
// });
1515

16+
/*
17+
|--------------------------------------------------------------------------
18+
| Set up 500 handler
19+
|--------------------------------------------------------------------------
20+
|
21+
| Create a handler for error 500
22+
|
23+
*/
24+
// app()->setErrorHandler(function() {
25+
// response()->page(ViewsPath("errorPage.html", false), 500);
26+
// });
27+
1628
/*
1729
|--------------------------------------------------------------------------
1830
| Set up Controller namespace

0 commit comments

Comments
 (0)