Open
Description
Reproduction:
- create 2 peers peerA and peerB
- add to peer B 'open' event listener to have a way store data connection on open and add 'error' listener on the dataConnection
- connect with peerA to peerB, then close the connection immediately.
- try using connection.send() from peerB
Result:
Receiving these errors, however they do not seem to have a defined 'type' property as
Expectation:
As per the docs for peer errors, these errors should also have a 'type' so as to allow to better handle them in code