code: function constructor(options, error, name) {
      Pagelet.prototype.constructor.call(this, options);
  
      if (name) this.name = name;
      this.data = error instanceof Error ? error : {};
    }
docs: Extend the default constructor to allow second data parameter.
  
  @param {Object} options Optional options.
  @param {Error} error Error data and stack.
  @param {String} name Pagelet name that the Error pagelet replaces.
  @api public