code: function ErrorRenderer(err, req, res) {
      PageRenderer.call(this, req, res);
      Object.defineProperties(this, {
          err: {
              value: err || new Error()
          }
      });
      req.attrs.isErrorPage = true;
  }
docs: Constructor to create ErrorRenderer
  @param err
  @param req
  @param res
  @constructor