code: function(request, done) {
    return function(err, res, body) {
      var msg;
  
      if (!done || !_.isFunction(done)) return;
  
      // Catch connection errors
      if (err || !res || res.statusCode !== 200) return done({
        error: err,
        response: res,
        body: body,
        request: request,
        toString: function() {
          return err ? err.toString() : '';
        },
      }, null);
  
      // Try to parse response
      var parsedBody = null;
      try {
        parsedBody = JSON.parse(body);
      } catch(e) {
        err = 'Could not parse response from Google: ' + (body || 'null');
        return done(err, null);
      }
  
      // Return response
      done(null, parsedBody);
    };
  }
docs: // RESPONSE HANDLERS //