capture-stack-trace ![Build Status](https://camo.githubusercontent.com/8f3ce7cf1c18202b9a771147a751c31874dbedbed64fa7cceb8fdf858569d54a/68747470733a2f2f7472617669732d63692e6f72672f666c6f617464726f702f636170747572652d737461636b2d74726163652e7376673f6272616e63683d6d6173746572)
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