renderable(function (NotFoundHttpException $e, $request) { return response()->view('main', [], 404); }); } }