socket.emit('error', () => console.log("D'oh."));


Note: The following events are reserved and should not be used as event names by your application:

  • error
  • connect
  • disconnect
  • disconnecting
  • newListener
  • removeListener
  • ping
  • pong

Read the docs, dummy, he muttered to himself yet again.

This entry was posted on April 22, 2018 with tags