Bakhtina Sofya b84cb877be 1st comm há 3 semanas atrás
..
index.js b84cb877be 1st comm há 3 semanas atrás
license b84cb877be 1st comm há 3 semanas atrás
package.json b84cb877be 1st comm há 3 semanas atrás
readme.md b84cb877be 1st comm há 3 semanas atrás

readme.md

capture-stack-trace

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.