Vinícius Ernani de Carvalho 6c4544a079 Create the backend 6 jaren geleden
..
index.js 6c4544a079 Create the backend 6 jaren geleden
license 6c4544a079 Create the backend 6 jaren geleden
package.json 6c4544a079 Create the backend 6 jaren geleden
readme.md 6c4544a079 Create the backend 6 jaren geleden

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