I’m working on a P2P Chat website for a personal/school project.
It uses PeerJS for the P2P part and a client side only collection to store messages and notifications.
The front end isn’t that good, I’m not a front end guy so I didn’t take too much time on it.
I have a question about the methods, I don’t know how to handle method exceptions.
If I use the method callback and log the error object, the part simulating on the client still throws an exception in the browser console.
If you have any other suggestions or anything, you can submit pull requests or tell me here and I’ll gladly ‘‘review’’ and accept them