wallet-core/node_modules/capture-stack-trace
2018-09-20 02:56:13 +02:00
..
index.js add linting (and some initial fixes) 2017-05-28 00:40:43 +02:00
package.json update packages 2018-09-20 02:56:13 +02:00
readme.md add linting (and some initial fixes) 2017-05-28 00:40:43 +02: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