1node:assert:*
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  generatedMessage: false,
15  code: 'ERR_ASSERTION',
16  actual: Error: test error
17      at c (*if-error-has-good-stack.js:*:*)
18      at b (*if-error-has-good-stack.js:*:*)
19      at a (*if-error-has-good-stack.js:*:*)
20      at Object.<anonymous> (*if-error-has-good-stack.js:*:*),
21  expected: null,
22  operator: 'ifError'
23}
24
25Node.js *
26