I\'m running into an issue when trying to pass error messages around using web sockets. I can replicate the issue I am facing using J
J
JSON.stringify(err, Object.getOwnPropertyNames(err))
seems to work
[from a comment by /u/ub3rgeek on /r/javascript] and felixfbecker's comment below