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:Ben Noordhuis <info@bnoordhuis.nl>
parent
16db4c4d
Please register or sign in to comment