mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-10-21 20:10:34 +00:00
| .. | ||
| index.js | ||
| license | ||
| package.json | ||
| readme.md | ||
capture-stack-trace 
Ponyfill for Error.captureStackTrace
Install
$ npm install --save capture-stack-trace
Usage
var captureStackTrace = require('capture-stack-trace');
captureStackTrace({});
// => {stack: ...}
API
captureStackTrace(error)
error
Required
Type: Object
Target Object, that will recieve stack property.
License
MIT © Vsevolod Strukchinsky