lib: add missing `new` for errors lib/*.js
authorMayhem <stepien.nicolas@gmail.com>
Tue, 24 Mar 2015 14:15:57 +0000 (15:15 +0100)
committerBrendan Ashworth <brendan.ashworth@me.com>
Tue, 24 Mar 2015 19:42:15 +0000 (12:42 -0700)
commit1832743e181149c16ccd3752247f4306d3aa0fe1
tree936fa7014782d993aef319599602ecd61c704788
parent7dd5e824be53e222af63cc86e89b7ab7f841901c
lib: add missing `new` for errors lib/*.js

Not including `new` adds a useless frame and removes a potentially
useful frame.

PR-URL: https://github.com/iojs/io.js/pull/1246
Reviewed-By: Petka Antonov <petka_antonov@hotmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
lib/child_process.js
lib/crypto.js
lib/dns.js
lib/events.js
lib/fs.js
lib/punycode.js