code: function handleIntentError(req, res, next, data, intentObj) {
      if (intentObj.hasRawResult()) {
        data.rawData = intentObj.result();
      }
      req.intent = intentObj;
      return handleRequestError.call(this, data, req, res, next);
    }
docs: /*
  Handles the actual error of the request's result.
  TODO: manage the errors with a view error.