Commit 422a865d authored by cjihrig's avatar cjihrig Committed by Myles Borins
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 1bf84b9d
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