reportable(function (Throwable $e) { }); $this->renderable(function (NotFoundException $e, $request) { return response()->view('errors.404', [], 404); }); } }