router.js
function(missingParams) {
      var errParts = [];
      missingParams = _.map(missingParams, function(missingParam) {
        return '`' + missingParam + '`';
      });
      errParts.push("Missing");
      errParts.push(missingParams.join(', '));
      errParts.push("parameter(s).");
      return new MuniError(errParts.join(' '), 400);
    }
function(missingParams) {
      var errParts = [];
      missingParams = _.map(missingParams, function(missingParam) {
        return '`' + missingParam + '`';
      });
      errParts.push("Missing");
      errParts.push(missingParams.join(', '));
      errParts.push("parameter(s).");
      return new MuniError(errParts.join(' '), 400);
    }
function ( missingParams ) { var errParts = [ ] ; missingParams = _ . map ( missingParams , function ( missingParam ) { return '`' + missingParam + '`' ; } ) ; errParts . push ( "Missing" ) ; errParts . push ( missingParams . join ( ', ' ) ) ; errParts . push ( "parameter(s)." ) ; return new MuniError ( errParts . join ( ' ' ) , 400 ) ; }
Return an Error containing missing parameters that were required

@param {Array} missingParams
@return {MuniError}
Return an Error containing missing parameters that were required