Node.js 8.0+ added error codes instead of just message, but it's still strings!!I created a tool that extracts the error codes from node.js source via Babylon parser and outputs them into ES6 modules.But I'm not sure of the API, should I export them as constants, or an object.Check the project out and PRs welcome.http://ift.tt/2ijuekC
Submitted November 29, 2017 at 11:43AM by cswl1337
No comments:
Post a Comment