tra-analysis/website/functions/node_modules/capture-stack-trace
2019-01-06 13:14:45 -06:00
..
index.js push all website files 2019-01-06 13:14:45 -06:00
license push all website files 2019-01-06 13:14:45 -06:00
package.json push all website files 2019-01-06 13:14:45 -06:00
readme.md push all website files 2019-01-06 13:14:45 -06:00

capture-stack-trace Build Status

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