code: function EOFError(message) {
    // Like http://www.ecma-international.org/ecma-262/6.0/#sec-error-message
    if (!(this instanceof EOFError)) { return new EOFError(message); }
    Error.captureStackTrace(this, EOFError);
    if (message !== undefined) {
      Object.defineProperty(this, 'message', {
        value: String(message),
        configurable: true,
        writable: true
      });
    }
  }
docs: Constructs an EOFError.
  
  @class Represents an error caused by reaching the end-of-file (or, more
  generally, end-of-input).
  @constructor
  @param {string=} message Human-readable description of the error.