-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
clientrelated to peerjs clientrelated to peerjs clientdocumentationneed update some info in docneed update some info in docfeaturesuggestions for new features or enhancementssuggestions for new features or enhancements
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
clientrelated to peerjs clientrelated to peerjs clientdocumentationneed update some info in docneed update some info in docfeaturesuggestions for new features or enhancementssuggestions for new features or enhancements