src/errors.js
function invalidParameter(ruleName, expr) {
  return createError(
      'Invalid parameter to rule ' + ruleName + ': ' + expr + ' has arity ' + expr.getArity() +
         ', but parameter expressions must have arity 1',
      expr.source);
}
function invalidParameter(ruleName, expr) {
  return createError(
      'Invalid parameter to rule ' + ruleName + ': ' + expr + ' has arity ' + expr.getArity() +
         ', but parameter expressions must have arity 1',
      expr.source);
}
function invalidParameter ( ruleName , expr ) { return createError ( 'Invalid parameter to rule ' + ruleName + ': ' + expr + ' has arity ' + expr . getArity ( ) + ', but parameter expressions must have arity 1' , expr . source ) ; }
Invalid parameter expression
Invalid parameter expression