mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Expose the default prepareStackTrace implementation as `Error.prepareStackTrace` so that userland can chain up formatting of stack traces with built-in source maps support. PR-URL: https://github.com/nodejs/node/pull/50827 Fixes: https://github.com/nodejs/node/issues/50733 Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
11 lines
453 B
Plaintext
11 lines
453 B
Plaintext
Error: an error!
|
|
at functionD (*enclosing-call-site.js:16:17)
|
|
at functionB (*enclosing-call-site.js:6:3)
|
|
at functionA (*enclosing-call-site.js:2:3)
|
|
at Object.<anonymous> (*enclosing-call-site.js:24:3)
|
|
Error: an error!
|
|
at functionD (*enclosing-call-site-min.js:1:156)
|
|
at functionB (*enclosing-call-site-min.js:1:60)
|
|
at functionA (*enclosing-call-site-min.js:1:26)
|
|
at Object.<anonymous> (*enclosing-call-site-min.js:1:199)
|