1In your resources/views/errors folder make sure you have
2a 404.blade.php file and if that is not there then create it and put
3something in this file.
4
5
6Sepending on your environment setup. FYI,
7in app\Exceptions\Handler.php file the handler
8method handles/catches the errors. So check it, you may
9customize it, for example:
10
11 public function render($request, Exception $e)
12 {
13 // Customize it, extra code
14 if ($e instanceof AccessDeniedHttpException) {
15 return response(view('errors.403'), 403);
16 }
17
18 // The method has only this line by default
19 return parent::render($request, $e);
20 }