code: function ParseError(msg) {
    this.name = 'ParseError';
    this.message = msg;
    if (Error.captureStackTrace) {
      Error.captureStackTrace(this, ParseError);
    }
  }
docs: Initialize a new `ParseError` with the given `msg`.
  
  @param {String} msg
  @api private