json([ 'message' => 'Resource not found', ], 404); } return parent::render($request, $exception); } }