Commit e68ea16c authored by cjihrig's avatar cjihrig Committed by Rod Vagg
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 054a216b
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