prepare-stack-trace
Error.prepareStackTrace
ponyfill for Node. Made for Cabin.
Table of Contents
Install
npm:
npm install prepare-stack-trace
yarn:
yarn add prepare-stack-trace
Usage
Node
const StackFrame = ;const ErrorStackParser = ;const prepareStackTrace = ; const err1 = 'Oops!';const err2 = 'Error 1 will inherit this stack trace';err1stack = ; console;console;
VanillaJS
Contributors
Name | Website |
---|---|
Nick Baugh | http://niftylettuce.com/ |