title: socket.io custom error not showing correctly
body: <p>I have socket io setup with a middleware. If a criteria is met, it sends an error in the <code>next</code> function.</p>
  <p>When the client receives it, it comes out like this:</p>
  <blockquote>
  <p>Error: No params given</p>
  </blockquote>
  <p>How can I make it not show &quot;Error:&quot;, so it shows this &quot;No params given&quot;</p>
  <pre><code>io.use(async function (socket, next) {
          const data = socket.handshake.query;
          if (!data) next(new Error('No params given'));
      });
  </code></pre>