Commit 8ca412b7 authored by cjihrig's avatar cjihrig
Browse files

util: add decorateErrorStack()

This commit adds the decorateErrorStack() method. This function
uses the internal util's getHiddenValue() method to extract
arrow messages from error objects and attach them to the
error's stack trace.

PR-URL: https://github.com/nodejs/node/pull/4013


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent 16db4c4d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment