git-svn-id: https://svn.libreccm.org/ccm/trunk@5722 8810af33-2d31-482b-a856-94f89814c4df |
||
|---|---|---|
| .. | ||
| index.js | ||
| package.json | ||
| readme.md | ||
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