node/test/addons/make-callback
Rich Trott 35f2f64edd tools: Use `throw new Error()` consistently
In preparation for a lint rule that will enforce `throw new Error()`
over `throw Error()`, fix the handful of instances in the code that
use `throw Error()`.

PR-URL: https://github.com/nodejs/node/pull/3714
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2015-11-10 21:00:35 -08:00
..
binding.cc test: add node::MakeCallback() test coverage 2015-10-23 18:43:06 +02:00
binding.gyp test: add node::MakeCallback() test coverage 2015-10-23 18:43:06 +02:00
test.js tools: Use `throw new Error()` consistently 2015-11-10 21:00:35 -08:00