I\'ve created a node.js app that uses socket.io and want to pass errors from the server to the client. This is what I have so far:
io.use( (socket: CustomSock