Question : catching auth error socketio
Answered by : mohit-swami
socket.on('connect_error', function(err) { console.log('The server sent an error', err);
});
Source : https://stackoverflow.com/questions/33829660/how-to-handle-io-use-middleware-to-capture-errors-on-client | Last Update : Sun, 11 Sep 22