1assert.js:* 2 throw newErr; 3 ^ 4 5AssertionError [ERR_ASSERTION]: ifError got unwanted exception: test error 6 at z (*if-error-has-good-stack.js:*:* 7 at y (*if-error-has-good-stack.js:*:*) 8 at x (*if-error-has-good-stack.js:*:*) 9 at Object.<anonymous> (*if-error-has-good-stack.js:*:*) 10 at c (*if-error-has-good-stack.js:*:*) 11 at b (*if-error-has-good-stack.js:*:*) 12 at a (*if-error-has-good-stack.js:*:*) 13 at Object.<anonymous> (*if-error-has-good-stack.js:*:*) 14 at Module._compile (internal/modules/cjs/loader.js:*:*) 15 at Object.Module._extensions..js (internal/modules/cjs/loader.js:*:*) 16 at Module.load (internal/modules/cjs/loader.js:*:*) 17 at Function.Module._load (internal/modules/cjs/loader.js:*:*) 18 at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:*:*) 19 at internal/main/run_main_module.js:*:* { 20 generatedMessage: false, 21 code: 'ERR_ASSERTION', 22 actual: Error: test error 23 at c (*if-error-has-good-stack.js:*:*) 24 at b (*if-error-has-good-stack.js:*:*) 25 at a (*if-error-has-good-stack.js:*:*) 26 at Object.<anonymous> (*if-error-has-good-stack.js:*:*) 27 at Module._compile (internal/modules/cjs/loader.js:*:*) 28 at Object.Module._extensions..js (internal/modules/cjs/loader.js:*:*) 29 at Module.load (internal/modules/cjs/loader.js:*:*) 30 at Function.Module._load (internal/modules/cjs/loader.js:*:*) 31 at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:*:*) 32 at internal/main/run_main_module.js:*:* 33 expected: null, 34 operator: 'ifError' 35} 36