code: function (err, data) {
        debug(`${service}.${method} response:`, err || {
          status: data && data.status,
          size: data && JSON.stringify(data).length
        });
        if (err) return next(err.cause || err);
  
        res.data = data;
  
        if (!data) {
          debug(`No content returned for '${req.url}'`);
          res.status(statusCodes.noContent);
        } else if (method === 'create') {
          res.status(statusCodes.created);
        }
  
        return next();
      }
docs: The service success callback which sets res.data or calls next() with the error