summaryrefslogtreecommitdiff
path: root/test/message/if-error-has-good-stack.out
blob: 24a8f7beb4daaf20c8eb50c2ab0382c8cbed197d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
assert.js:*
    throw newErr;
    ^

AssertionError [ERR_ASSERTION]: ifError got unwanted exception: test error
    at z (*if-error-has-good-stack.js:*:*
    at y (*if-error-has-good-stack.js:*:*)
    at x (*if-error-has-good-stack.js:*:*)
    at Object.<anonymous> (*if-error-has-good-stack.js:*:*)
    at c (*if-error-has-good-stack.js:*:*)
    at b (*if-error-has-good-stack.js:*:*)
    at a (*if-error-has-good-stack.js:*:*)
    at Object.<anonymous> (*if-error-has-good-stack.js:*:*)
    at Module._compile (internal/modules/cjs/loader.js:*:*)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:*:*)
    at Module.load (internal/modules/cjs/loader.js:*:*)
    at Function.Module._load (internal/modules/cjs/loader.js:*:*)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:*:*)
    at internal/main/run_main_module.js:*:* {
  generatedMessage: false,
  code: 'ERR_ASSERTION',
  actual: Error: test error
      at c (*if-error-has-good-stack.js:*:*)
      at b (*if-error-has-good-stack.js:*:*)
      at a (*if-error-has-good-stack.js:*:*)
      at Object.<anonymous> (*if-error-has-good-stack.js:*:*)
      at Module._compile (internal/modules/cjs/loader.js:*:*)
      at Object.Module._extensions..js (internal/modules/cjs/loader.js:*:*)
      at Module.load (internal/modules/cjs/loader.js:*:*)
      at Function.Module._load (internal/modules/cjs/loader.js:*:*)
      at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:*:*)
      at internal/main/run_main_module.js:*:*
  expected: null,
  operator: 'ifError'
}