whole_func_string: function(type) {
          var qp = {error: type, state: props.state};
          res.redirect(props.redirect_uri + "?" + qs.stringify(qp));
      }
func_code_string: function(type) {
          var qp = {error: type, state: props.state};
          res.redirect(props.redirect_uri + "?" + qs.stringify(qp));
      }
func_documentation_string: Closure to make this a little shorter