0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/deps/npm/node_modules/capture-stack-trace
..
index.js
package.json
readme.md

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