mirror of
https://gitee.com/dcloud/uni-preset-vue
synced 2025-04-05 13:31:52 +08:00
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.
License
MIT © Vsevolod Strukchinsky