code: function sendError(req, res, err) {
          return res.end("(" + function (err) {
              throw new Error(err)
          } + "(" + JSON.stringify(err.message) + "))")
      }
docs: This is the logic of how to display errors to the user