refactor: rename ERROR to CONNECT_ERROR
The meaning is not modified: this packet type is still used by the
server when the connection to a namespace is refused. But I feel the
name makes more sense:
```js
socket.on("connect", () => {});
socket.on("connect_error", () => {});
// instead of
socket.on("error", () => {});
``` D
Damien Arrachequesne committed
db1d27432d2e939be24aecba422960e21e7438f4
Parent: e3d272f