۰ سید جمال جلالی
update error handling to laravel 9
جامعه لاراول ایجاد شده در ۲۴ آذر ۱۴۰۱
   public function register()
    {
        $this->renderable(function (NotFoundHttpException $e, $request) {
            return response()->json([
                'message' => 'Resource not found',
            ], 404);
        });
    }