constructor(msg) {
    super();
    this.name = 'ParseError';
    this.message = msg;
    if (Error.captureStackTrace) {
      Error.captureStackTrace(this, ParseError);
    }
  }
Initialize a new `ParseError` with the given `msg`.

@param {String} msg
@api private